fixed bug in admin new
This commit is contained in:
parent
90ca2d0fac
commit
c4a0398a60
@ -256,7 +256,7 @@ class Utils:
|
|||||||
msg = ''
|
msg = ''
|
||||||
admin_roles = []
|
admin_roles = []
|
||||||
roles = await self.bot.db_con.fetchval(f'select admin_roles,rcon_admin_roles from guild_config '
|
roles = await self.bot.db_con.fetchval(f'select admin_roles,rcon_admin_roles from guild_config '
|
||||||
f'where = $1', ctx.guild.id)
|
f'where guild_id = $1', ctx.guild.id)
|
||||||
request_id = await self.bot.db_con.fetchval(f'select id from admin_requests where '
|
request_id = await self.bot.db_con.fetchval(f'select id from admin_requests where '
|
||||||
f'issuing_member_id = $1 and request_time = $2',
|
f'issuing_member_id = $1 and request_time = $2',
|
||||||
ctx.author.id, ctx.message.created_at)
|
ctx.author.id, ctx.message.created_at)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user