fix(bot): 🐛 p.hangup not working.

This commit is contained in:
Nyeki.py
2024-10-18 14:59:21 -03:00
parent d5c856af44
commit 13aafc3fde
+3 -1
View File
@@ -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(other_channel.id)] if other_channel is not None else [])
),
)
if other_channel is not None: