From 7c2173a090ca206ac188fa1a4de0d412024df90b Mon Sep 17 00:00:00 2001 From: Random Guy JCI <22722393+RandomGuyJCI@users.noreply.github.com> Date: Wed, 9 Oct 2024 17:36:31 +0800 Subject: [PATCH] attempt third fix of missing reactions/attachments --- orchard/bot/handlers/interactions/commands/reactx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orchard/bot/handlers/interactions/commands/reactx.py b/orchard/bot/handlers/interactions/commands/reactx.py index bdd558f..51ac60f 100644 --- a/orchard/bot/handlers/interactions/commands/reactx.py +++ b/orchard/bot/handlers/interactions/commands/reactx.py @@ -49,12 +49,12 @@ async def _reactx(body, _): continue if user_id in reaction_users: ignored_rdzips.append(attachment) - interactor.react(channel_id, message_id, number_reactions[i]) + await interactor.react(channel_id, message_id, number_reactions[i]) await interactor.react(channel_id, message_id, "🚫") result = "Done, now ignoring all rdzips." if len(ignored_rdzips) > 0: result = ( - "Done, now ignoring the following rdzips:\n```" + "Done, now ignoring the following rdzips:\n```\n" + "\n".join(ignored_rdzips) + "\n```" )