Change !jobs to !reminders

This commit is contained in:
2021-04-17 19:09:00 +02:00
parent 0158c97a66
commit 4d9bec9ffa

View File

@ -39,7 +39,7 @@ async def on_ready():
@bot.command() @bot.command()
async def jobs(ctx): async def reminders(ctx):
msg = "" msg = ""
jobs = scheduler.get_jobs() jobs = scheduler.get_jobs()
for job in jobs: for job in jobs:
@ -68,7 +68,7 @@ async def jobs(ctx):
msg += f'{message} at {trigger_time.strftime("%Y-%m-%d %H:%M:%S")} (in {the_final_countdown})\n' msg += f'{message} at {trigger_time.strftime("%Y-%m-%d %H:%M:%S")} (in {the_final_countdown})\n'
if not msg: if not msg:
msg = "This server has no reminders." msg = f"{ctx.guild.name} has no reminders."
await ctx.send(msg) await ctx.send(msg)