guild instead of server maybe?
This commit is contained in:
parent
4a4a65222e
commit
25f37edce5
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user