fix missing await
This commit is contained in:
parent
c2919314b0
commit
d93992b198
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ async def start_task(ctx):
|
||||||
@bot.command(name='show')
|
@bot.command(name='show')
|
||||||
async def show_task(ctx):
|
async def show_task(ctx):
|
||||||
global counter
|
global counter
|
||||||
ctx.channel.send(str(counter))
|
await ctx.channel.send(str(counter))
|
||||||
|
|
||||||
@tasks.loop(seconds=10)
|
@tasks.loop(seconds=10)
|
||||||
async def my_task():
|
async def my_task():
|
||||||
|
|
Loading…
Reference in a new issue