diff options
| author | 2022-01-31 21:02:03 -0700 | |
|---|---|---|
| committer | 2022-01-31 21:02:03 -0700 | |
| commit | 3b0217eb43c8cf01dc0d387ff64639d3f1cfe2fe (patch) | |
| tree | 40e47d301e760027c84b7db9cc242a9d9d635d00 /bot/exts | |
| parent | Add period to love calculator footer (diff) | |
Use constant for Python bot prefix
Diffstat (limited to 'bot/exts')
| -rw-r--r-- | bot/exts/holidays/valentines/lovecalculator.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/holidays/valentines/lovecalculator.py b/bot/exts/holidays/valentines/lovecalculator.py index d49d59d4..c2860fb2 100644 --- a/bot/exts/holidays/valentines/lovecalculator.py +++ b/bot/exts/holidays/valentines/lovecalculator.py @@ -12,7 +12,7 @@ from discord.ext import commands  from discord.ext.commands import BadArgument, Cog, clean_content  from bot.bot import Bot -from bot.constants import Channels, Client, Lovefest, Month +from bot.constants import Channels, Client, Lovefest, Month, PYTHON_PREFIX  from bot.utils.decorators import in_month  log = logging.getLogger(__name__) @@ -90,7 +90,7 @@ class LoveCalculator(Cog):              name="A letter from Dr. Love:",              value=data["text"]          ) -        embed.set_footer(text="You can unsubscribe from lovefest by using !subscribe.") +        embed.set_footer(text=f"You can unsubscribe from lovefest by using {PYTHON_PREFIX}subscribe.")          await ctx.send(embed=embed)  |