guild instead of server maybe?

This commit is contained in:
raatty 2018-06-15 18:48:53 +12:00
parent 4a4a65222e
commit 25f37edce5

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(ctx.server.get_member(owner['owner']).display_name) await ctx.send(ctx.guild.get_member(owner['owner']).display_name)