Fix typo in wards
Fixed typo in `high_management` function
This commit is contained in:
@@ -21,7 +21,7 @@ async def sys_admin(bot: LionBot, userid: int):
|
|||||||
return userid in admins
|
return userid in admins
|
||||||
|
|
||||||
|
|
||||||
async def high_management(bot: LionBot, member: discord.Member, guild=discord.Guild):
|
async def high_management(bot: LionBot, member: discord.Member, guild: discord.Guild):
|
||||||
if not guild:
|
if not guild:
|
||||||
return True
|
return True
|
||||||
if await sys_admin(bot, member.id):
|
if await sys_admin(bot, member.id):
|
||||||
|
|||||||
Reference in New Issue
Block a user