diff --git a/app/dragon-bot.py b/app/dragon-bot.py index 80661052..31668564 100644 --- a/app/dragon-bot.py +++ b/app/dragon-bot.py @@ -6,6 +6,7 @@ then imported into the main bot """ import os +import random import requests import animals @@ -103,6 +104,12 @@ async def on_message(message): ) ) +##################### Holiday cheer ################ + xmas_emojis = ['christmaspanda', 'owopresent', 'mikupresent'] + xmas_emoji = discord.utils.get(client.get_all_emojis(), name=random.choice(xmas_emojis)) + await client.add_reaction(message, xmas_emoji) + + # Read messages and look for mentions of subreddits for word in message.content.split(): if (message.author != client.user) and '/r/' in word: