fix(bot): 🚑 Migrate to serverless redis.

This commit is contained in:
Nyeki.py
2024-11-03 22:59:14 -03:00
parent 07c6b829bc
commit 7b310a2110
8 changed files with 157 additions and 77 deletions
+2 -2
View File
@@ -819,7 +819,7 @@ class Calls(base.Cog):
pipe.hset(
constants.CALL_MESSAGE_REPLIES_TEMPLATE % call.id,
replying_to_id,
other_replies.decode() + f",{message.id}",
other_replies + f",{message.id}",
)
await pipe.execute()
@@ -893,7 +893,7 @@ class Calls(base.Cog):
if message_replies is None:
return
for message_id in message_replies.decode().split(","):
for message_id in message_replies.split(","):
try:
await webhook.edit_message(message_id, embed=None)