From 4a4a65222ea74402f0ce8eba2fece8fc86edb7dc Mon Sep 17 00:00:00 2001 From: raatty Date: Fri, 15 Jun 2018 18:46:01 +1200 Subject: [PATCH] name instead of id --- src/cogs/bot_management.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cogs/bot_management.py b/src/cogs/bot_management.py index be81ac1..1740f4a 100644 --- a/src/cogs/bot_management.py +++ b/src/cogs/bot_management.py @@ -112,7 +112,7 @@ class BotManager: await ctx.send('this commands only for bots') else: 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)