mirror of https://gitlab.com/litecord/litecord.git
checks: assert guild channel has correlated guild id
This commit is contained in:
parent
0a0d0603dd
commit
1d36038469
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue