From a1a8edee7fee628a5033f8ef1aacc4c4b651e8b7 Mon Sep 17 00:00:00 2001 From: chanomkaimuk <22185824+chanomkaimuk@users.noreply.github.com> Date: Thu, 28 Sep 2023 01:00:58 +0200 Subject: [PATCH] added more TW reacts; reduced probability to ensure 2.55 reacts on average --- commands/reacttw/consts.py | 7 +++++++ commands/reacttw/react_tw.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/commands/reacttw/consts.py b/commands/reacttw/consts.py index 5aef322..e5894bd 100644 --- a/commands/reacttw/consts.py +++ b/commands/reacttw/consts.py @@ -18,6 +18,13 @@ "<:AppleSidra:1139357659733172234>", "<:Capoo:1139357657698938991>", "<:HeySong:1144406128227262574>", + "<:Bopomofo:1156375472142286988>", + "<:Easycard:1156375474449170482>", + "<:twslipper:1156375845330485298>", + "<:NightMarket:1156373380707143760>", + "<:MincedPorkRice:1156373975224553542>", + "<:PineappleCake:1156373382565212323>", + "<:StinkyTofu:1156373383643152445>", ) KEYWORDS_EN = ( diff --git a/commands/reacttw/react_tw.py b/commands/reacttw/react_tw.py index 90d5cfd..271e73a 100644 --- a/commands/reacttw/react_tw.py +++ b/commands/reacttw/react_tw.py @@ -10,5 +10,5 @@ def is_TW_message(message: discord.Message): async def send_react_tw(message: discord.Message): for react in POSSIBLE_REACTS: - if mock_bernoulli(0.15): + if mock_bernoulli(0.10625): await message.add_reaction(react)