mirror of https://gitlab.com/litecord/litecord.git
Assert roleperms can't be none
This commit is contained in:
parent
c0c759c31e
commit
1bb0bd2649
|
|
@ -106,6 +106,8 @@ async def get_role_perms(guild_id, role_id, storage=None) -> Permissions:
|
|||
role_id,
|
||||
)
|
||||
|
||||
assert perms is not None
|
||||
|
||||
return Permissions(perms)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue