Smol fixes for deployment
This commit is contained in:
@@ -102,15 +102,18 @@ class Timer(commands.Cog):
|
||||
except Exception as e:
|
||||
await ctx.channel.send(f"You idiot. Send the command right: {e}")
|
||||
|
||||
@commands.command(pass_context=True, hidden=False)
|
||||
@commands.command(pass_context=True, hidden=True)
|
||||
async def reminders(self, ctx):
|
||||
msg = "Here are my current reminders:\n"
|
||||
if len(self.timers) > 0:
|
||||
msg = "Here's what I'm gonna do:\n"
|
||||
for timer in self.timers:
|
||||
msg += f"\t{timer.id}:\t{timer.status()}\n"
|
||||
msg += "Use `!delete <id>` to delete a standing reminder"
|
||||
msg += "*Use `!delete <id>` to delete a standing reminder*"
|
||||
await ctx.channel.send(msg)
|
||||
else:
|
||||
await ctx.channel.send("Idiot. You have to set reminders first.")
|
||||
|
||||
@commands.command(pass_context=True, hidden=False)
|
||||
@commands.command(pass_context=True, hidden=True)
|
||||
async def delete(self, ctx, id: int):
|
||||
self.timers.remove(id)
|
||||
self.pickle_timers.remove(id)
|
||||
|
||||
Reference in New Issue
Block a user