name instead of id

This commit is contained in:
raatty 2018-06-15 18:46:01 +12:00
parent 3c7d4bbc69
commit 4a4a65222e

View File

@ -112,7 +112,7 @@ class BotManager:
await ctx.send('this commands only for bots') await ctx.send('this commands only for bots')
else: else:
owner = await self.bot.db_con.fetchrow('select * from bots where id = $1', bot.id) owner = await self.bot.db_con.fetchrow('select * from bots where id = $1', bot.id)
await ctx.send(owner['owner']) await ctx.send(ctx.server.get_member(owner['owner']).display_name)