From d93992b1980dd30a6cb8379166e19316bed21393 Mon Sep 17 00:00:00 2001 From: deflax Date: Tue, 16 Jan 2024 18:59:24 +0200 Subject: [PATCH] fix missing await --- 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 2d6fcd7..7615495 100644 --- a/src/discordbot/discordbot.py +++ b/src/discordbot/discordbot.py @@ -74,7 +74,7 @@ async def start_task(ctx): @bot.command(name='show') async def show_task(ctx): global counter - ctx.channel.send(str(counter)) + await ctx.channel.send(str(counter)) @tasks.loop(seconds=10) async def my_task():