fix(tasks): 🚑 Disable call expiry.

This commit is contained in:
Nyeki.py
2024-11-16 00:52:25 -03:00
parent 35884c0717
commit 5d3441a13e
4 changed files with 18 additions and 17 deletions
+1 -1
View File
@@ -435,7 +435,7 @@ class Calls(base.Cog):
await webhook.edit_message(propagation_id, content=payload.data["content"])
@commands.message_command(name="Report Message")
@commands.message_command(name="Report Message" if not constants.IS_DEBUG else "(Dev) Report Message")
async def report_message(
self, ctx: discord.ApplicationContext, message: discord.Message
) -> None:
+1
View File
@@ -391,6 +391,7 @@ class CallHandler:
if last_message is not None:
continue
pipe.hdel("calls:last-message", call_id)
pipe.hdel("calls:channels:active", *channels)
pipe.hdel("calls:calls:active", call_id)
pipe.srem("calls:channels:searching", *channels)