Update truth counter
All checks were successful
Build and Publish college-bot-v2 / build_and_publish (push) Successful in 13s
All checks were successful
Build and Publish college-bot-v2 / build_and_publish (push) Successful in 13s
This commit is contained in:
parent
03f222a1a3
commit
6fb9bb839b
1 changed files with 0 additions and 5 deletions
|
@ -326,16 +326,11 @@ class QuoteQuota(commands.Cog):
|
|||
@commands.slash_command(name="truths")
|
||||
async def truths_counter(self, ctx: discord.ApplicationContext):
|
||||
"""Counts the number of times the word 'truth' has been said in the quotes channel."""
|
||||
channel = discord.utils.get(ctx.guild.text_channels, name="spam")
|
||||
if not channel:
|
||||
return await ctx.respond(":x: Cannot find spam channel.")
|
||||
|
||||
await ctx.defer()
|
||||
now = discord.utils.utcnow().replace(minute=0, second=0, microsecond=0)
|
||||
|
||||
embed = discord.Embed(
|
||||
title="Counting truths, please wait.",
|
||||
description="This may take a minute depending on how insane Trump and Tate are feeling.",
|
||||
color=discord.Color.blurple(),
|
||||
timestamp=now,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue