Skip to content

Commit

Permalink
Merge pull request #93 from royh02/master
Browse files Browse the repository at this point in the history
Added drip identifier
  • Loading branch information
aninrusimha authored Feb 1, 2021
2 parents 773d8ca + 42f0b5b commit ff5ae5e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/discordbot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ async def on_message(self, message):
) # todo: add official <:tree:744335009002815609>

await message.add_reaction(emoji)
elif "drip" in msg or "πŸ‘Ÿ" in msg or "πŸ₯΅" in msg:
for emoji in emoji_letters("drip"):
await message.add_reaction(emoji)
await message.add_reaction("πŸ‘Ÿ")
if message.author.id == ANI_NRUSIMHA_ID:
emoji = get(self.emojis, name="AniChamp")
if emoji:
Expand Down
2 changes: 2 additions & 0 deletions apps/discordbot/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ def test_reactions(self):
"wtf based and breadpilled???", reactions=emoji_letters("based") + ["😎"]
)
self.check_message(cpmacpma, reactions=emoji_letters("wtfiscpma"))
self.check_message("we drippin", reactions=emoji_letters("drip") + ["πŸ‘Ÿ"])
self.check_message("plain ol msg")
# TODO the rest of them

def test_replies(self):
Expand Down

0 comments on commit ff5ae5e

Please sign in to comment.