From 25f37edce5cc8d7198411c1a527a112df1242065 Mon Sep 17 00:00:00 2001 From: raatty Date: Fri, 15 Jun 2018 18:48:53 +1200 Subject: [PATCH] guild instead of server maybe? --- 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 1740f4a..31251dd 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(ctx.server.get_member(owner['owner']).display_name) + await ctx.send(ctx.guild.get_member(owner['owner']).display_name)