fix(bot): 🚑 Migrate to serverless redis.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user