diff options
author | 2020-02-09 13:26:37 +0100 | |
---|---|---|
committer | 2020-02-09 13:26:37 +0100 | |
commit | e21938e663b4a210c059d3875ca4d3c92b76eeb7 (patch) | |
tree | 02bfcc8d98be894a8962e0abd9badccad615a8a5 | |
parent | Merge pull request #346 from RohanJnr/reddit_posts (diff) |
Add correct emoji IDs to Evergreen reddit cog
The emoji IDs in the Reddit cog were for emojis that are not available to Seasonal Bot. While I think a proper solution using constants is to be preferred, I've edited in IDs for emojis that can be used by the bot in the mean time.
I've reused three of the emojis that we were already using for our Reddit webhook and added four new emojis to the `PyDis Emoji II` server.
Reused emojis:
:user: 638729835442602003
:upvotes: 638729835245731840
:comments: 638729835073765387
New emojis available on PyDis Emoji II:
:reddit_logo: 676030265734332427
:reddit_post_photo: 676030265734201344
:reddit_post_text: 676030265910493204
:reddit_post_video: 676030265839190047
The latter four may need to be restyled to match the first three in the future.
-rw-r--r-- | bot/seasons/evergreen/reddit.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bot/seasons/evergreen/reddit.py b/bot/seasons/evergreen/reddit.py index 811f5781..32ca419a 100644 --- a/bot/seasons/evergreen/reddit.py +++ b/bot/seasons/evergreen/reddit.py @@ -69,13 +69,13 @@ class Reddit(commands.Cog): # ----------------------------------------------------------- # This code below is bound of change when the emojis are added. - upvote_emoji = self.bot.get_emoji(674608910656733185) - comment_emoji = self.bot.get_emoji(674608751784755200) - user_emoji = self.bot.get_emoji(674608692418707467) - text_emoji = self.bot.get_emoji(674608836312825877) - video_emoji = self.bot.get_emoji(674608791450550272) - image_emoji = self.bot.get_emoji(674594916655169536) - reddit_emoji = self.bot.get_emoji(674087978628284417) + upvote_emoji = self.bot.get_emoji(638729835245731840) + comment_emoji = self.bot.get_emoji(638729835073765387) + user_emoji = self.bot.get_emoji(638729835442602003) + text_emoji = self.bot.get_emoji(676030265910493204) + video_emoji = self.bot.get_emoji(676030265839190047) + image_emoji = self.bot.get_emoji(676030265734201344) + reddit_emoji = self.bot.get_emoji(676030265734332427) # ------------------------------------------------------------ |