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