changed client to bot

This commit is contained in:
unknown committed 2019-11-01 16:52:26 -04:00
1 parent b58411681c
commit 8e2fa540cc
1 file changed
+1 -1
+1 -1
View File
@@ -48,7 +48,7 @@ async def on_command_error(error, ctx):
print(ctx)
print('Error:')
print(error)
await client.send_message(ctx.message.channel, error)
await bot.send_message(ctx.message.channel, error)
@bot.event
async def on_ready():