From d839b229f729fe33635b523d8aab7d9747344c76 Mon Sep 17 00:00:00 2001 From: deflax Date: Tue, 16 Jan 2024 18:56:20 +0200 Subject: [PATCH] fix e typo --- src/discordbot/discordbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/discordbot/discordbot.py b/src/discordbot/discordbot.py index 86aa292..46f2b49 100644 --- a/src/discordbot/discordbot.py +++ b/src/discordbot/discordbot.py @@ -61,7 +61,7 @@ async def epg(ctx): except Exception as e: print(e) -@bot.comment(name='time') +@bot.command(name='time') async def time(): await bot.channel.send('The time is: `%s`' % datetime.now())