Skip to content

Commit

Permalink
added more TW reacts; reduced probability to ensure 2.55 reacts on av…
Browse files Browse the repository at this point in the history
…erage
  • Loading branch information
chanomkaimuk committed Sep 27, 2023
1 parent 99bdf4b commit a1a8ede
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions commands/reacttw/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
Expand Down
2 changes: 1 addition & 1 deletion commands/reacttw/react_tw.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit a1a8ede

Please sign in to comment.