aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Izan <[email protected]>2021-08-24 11:57:11 +0100
committerGravatar Izan <[email protected]>2021-08-24 11:57:11 +0100
commitd2e9bfb79010a6b3eb9fe5656334b7a703d4123c (patch)
treed8748e06623d37c6f94ecb87f1e408b4ac170fbc
parentUpdate message to start with lowercase (diff)
Move lemojis into constants.py
-rw-r--r--bot/constants.py3
-rw-r--r--bot/exts/evergreen/coinflip.py9
2 files changed, 6 insertions, 6 deletions
diff --git a/bot/constants.py b/bot/constants.py
index bb602361..b5097601 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -239,6 +239,9 @@ class Emojis:
reddit_comments = "<:reddit_comments:755845255001014384>"
reddit_users = "<:reddit_users:755845303822974997>"
+ lemon_hyperpleased = "<:lemon_hyperpleased:754441879822663811>"
+ lemon_pensive = "<:lemon_pensive:754441880246419486>"
+
class Icons:
questionmark = "https://cdn.discordapp.com/emojis/512367613339369475.png"
diff --git a/bot/exts/evergreen/coinflip.py b/bot/exts/evergreen/coinflip.py
index 7ec5b5b9..2f9bf38b 100644
--- a/bot/exts/evergreen/coinflip.py
+++ b/bot/exts/evergreen/coinflip.py
@@ -4,10 +4,7 @@ from typing import Optional, Tuple
from discord.ext import commands
from bot.bot import Bot
-
-
-LEMON_HYPERPLEASED = "<:lemon_hyperpleased:754441879822663811>"
-LEMON_PENSIVE = "<:lemon_pensive:754441880246419486>"
+from bot.constants import Emojis
class CoinSide(commands.Converter):
@@ -46,9 +43,9 @@ class CoinFlip(commands.Cog):
message = f"{ctx.author.mention} flipped **{flipped_side}**. "
if side == flipped_side:
- message += f"You guessed correctly! {LEMON_HYPERPLEASED}"
+ message += f"You guessed correctly! {Emojis.lemon_hyperpleased}"
else:
- message += f"You guessed incorrectly. {LEMON_PENSIVE}"
+ message += f"You guessed incorrectly. {Emojis.lemon_pensive}"
await ctx.send(message)