diff options
| author | 2022-02-19 20:34:46 +0200 | |
|---|---|---|
| committer | 2022-02-19 20:34:46 +0200 | |
| commit | 31b3543e78f38bbd393af97590090cfab638043e (patch) | |
| tree | 505c8303a6327aa76c854474708983eafdcfa52b /bot/exts/holidays | |
| parent | add comments and docstrings, remove an unused variable (diff) | |
| parent | Add topics for `#programming-pedagogy` channel (diff) | |
Merge branch 'main' into feat/latex
Diffstat (limited to 'bot/exts/holidays')
| -rw-r--r-- | bot/exts/holidays/valentines/lovecalculator.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/holidays/valentines/lovecalculator.py b/bot/exts/holidays/valentines/lovecalculator.py index a53014e5..99fba150 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, Lovefest, Month, PYTHON_PREFIX from bot.utils.decorators import in_month log = logging.getLogger(__name__) @@ -51,7 +51,7 @@ class LoveCalculator(Cog): raise BadArgument( "This command can only be ran against members with the lovefest role! " "This role be can assigned by running " - f"`{Client.prefix}lovefest sub` in <#{Channels.community_bot_commands}>." + f"`{PYTHON_PREFIX}subscribe` in <#{Channels.bot}>." ) if whom is None: @@ -90,7 +90,7 @@ class LoveCalculator(Cog): name="A letter from Dr. Love:", value=data["text"] ) - embed.set_footer(text=f"You can unsubscribe from lovefest by using {Client.prefix}lovefest unsub") + embed.set_footer(text=f"You can unsubscribe from lovefest by using {PYTHON_PREFIX}subscribe.") await ctx.send(embed=embed) |