From 24f8a0faa17926e300ad762f26c68d0348bdfea1 Mon Sep 17 00:00:00 2001 From: deflax Date: Wed, 17 Jan 2024 03:20:55 +0200 Subject: [PATCH] announce time in utc --- 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 e9affa0..696f255 100644 --- a/src/discordbot/discordbot.py +++ b/src/discordbot/discordbot.py @@ -56,7 +56,7 @@ async def epg(ctx): @bot.command(name='time') async def time(ctx): - await ctx.channel.send('The time is: `%s`' % datetime.now()) + await ctx.channel.send(f'The time is: {datetime.now()} UTC') # Helper functions async def update_database():