Assert roleperms can't be none

This commit is contained in:
Luna 2020-04-30 23:46:11 -03:00
parent c0c759c31e
commit 1bb0bd2649
1 changed files with 2 additions and 0 deletions

View File

@ -106,6 +106,8 @@ async def get_role_perms(guild_id, role_id, storage=None) -> Permissions:
role_id, role_id,
) )
assert perms is not None
return Permissions(perms) return Permissions(perms)