fix(bot): 🐛 p.hangup not working.
This commit is contained in:
@@ -464,8 +464,10 @@ class Calls(base.Cog):
|
|||||||
|
|
||||||
await self.bot.redis.srem(
|
await self.bot.redis.srem(
|
||||||
constants.CHANNELS_ONCALL_SET,
|
constants.CHANNELS_ONCALL_SET,
|
||||||
|
*(
|
||||||
[str(channel_id)]
|
[str(channel_id)]
|
||||||
+ ([str(other_channel.id)] if other_channel is not None else []),
|
+ ([str(other_channel.id)] if other_channel is not None else [])
|
||||||
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
if other_channel is not None:
|
if other_channel is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user