fix time function context
This commit is contained in:
parent
d839b229f7
commit
c2919314b0
1 changed files with 2 additions and 2 deletions
|
@ -62,8 +62,8 @@ async def epg(ctx):
|
||||||
print(e)
|
print(e)
|
||||||
|
|
||||||
@bot.command(name='time')
|
@bot.command(name='time')
|
||||||
async def time():
|
async def time(ctx):
|
||||||
await bot.channel.send('The time is: `%s`' % datetime.now())
|
await ctx.channel.send('The time is: `%s`' % datetime.now())
|
||||||
|
|
||||||
@bot.command(name='start')
|
@bot.command(name='start')
|
||||||
async def start_task(ctx):
|
async def start_task(ctx):
|
||||||
|
|
Loading…
Reference in a new issue