fix missing await
This commit is contained in:
parent
c2919314b0
commit
d93992b198
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue