diff options
author | 2020-03-10 19:07:44 +0200 | |
---|---|---|
committer | 2020-03-10 19:07:44 +0200 | |
commit | 89c5996af883c99255620002cd5160dfb45f4e85 (patch) | |
tree | ec91611c686071ac364a44360ab960f37abe6f85 | |
parent | (Help): Added cog loading to __main__.py (diff) |
(Help): Added `Icons` class to constant, added `questionmark` to there, reverted icon removal in `.help` command.
-rw-r--r-- | bot/constants.py | 4 | ||||
-rw-r--r-- | bot/help.py | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/bot/constants.py b/bot/constants.py index f0656926..256dc40c 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -104,6 +104,10 @@ class Emojis: merge = "<:PRMerged:629695470570176522>" +class Icons: + questionmark = "https://cdn.discordapp.com/emojis/512367613339369475.png" + + class Lovefest: role_id = int(environ.get("LOVEFEST_ROLE_ID", 542431903886606399)) diff --git a/bot/help.py b/bot/help.py index 3c0a460a..ccb7db7d 100644 --- a/bot/help.py +++ b/bot/help.py @@ -418,8 +418,7 @@ class HelpSession: else: title = self.title - # Original: embed.set_author(name=title, icon_url=constants.Icons.questionmark) - embed.set_author(name=title) + embed.set_author(name=title, icon_url=constants.Icons.questionmark) embed.description = self._pages[page_number] # add page counter to footer if paginating |