checks: assert guild channel has correlated guild id

This commit is contained in:
Luna 2021-09-05 23:29:19 -03:00
parent 0a0d0603dd
commit 1d36038469
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ async def channel_check(
""", """,
channel_id, channel_id,
) )
assert guild_id is not None
await guild_check(user_id, guild_id) await guild_check(user_id, guild_id)
return ctype, guild_id return ctype, guild_id