diff options
author | 2020-02-17 17:11:37 +0200 | |
---|---|---|
committer | 2020-02-17 17:11:37 +0200 | |
commit | 7ec299251afd794d10e82e66fd9cb4c9c0f744ea (patch) | |
tree | 854a955ca29a6f5d05e9bc268b544a5c8e5d4abf | |
parent | Pagination migrations - Data Structure Modified (diff) |
Paginator Migration - Added trashcan emoji to constants.py
-rw-r--r-- | bot/constants.py | 1 | ||||
-rw-r--r-- | bot/pagination.py | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/bot/constants.py b/bot/constants.py index eca4f67b..2c68f719 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -88,6 +88,7 @@ class Emojis: christmas_tree = "\U0001F384" check = "\u2611" envelope = "\U0001F4E8" + trashcan = "<:trashcan:637136429717389331>" terning1 = "<:terning1:431249668983488527>" terning2 = "<:terning2:462339216987127808>" diff --git a/bot/pagination.py b/bot/pagination.py index a024e0d9..9a7a0382 100644 --- a/bot/pagination.py +++ b/bot/pagination.py @@ -6,11 +6,13 @@ from discord import Embed, Member, Reaction from discord.abc import User from discord.ext.commands import Context, Paginator +from bot.constants import Emojis + FIRST_EMOJI = "\u23EE" # [:track_previous:] LEFT_EMOJI = "\u2B05" # [:arrow_left:] RIGHT_EMOJI = "\u27A1" # [:arrow_right:] LAST_EMOJI = "\u23ED" # [:track_next:] -DELETE_EMOJI = "<:trashcan:637136429717389331>" # [:trashcan:] +DELETE_EMOJI = Emojis.trashcan # [:trashcan:] PAGINATION_EMOJI = (FIRST_EMOJI, LEFT_EMOJI, RIGHT_EMOJI, LAST_EMOJI, DELETE_EMOJI) |