diff options
author | 2022-02-01 10:18:16 +0000 | |
---|---|---|
committer | 2022-02-01 10:18:16 +0000 | |
commit | f6400516b4b577aaf335a9ae6c8e77e06d7ec79e (patch) | |
tree | cacaca2d8e89e3f1288dde8c5cb94a7fa064120b /bot | |
parent | Bump isort Version (diff) | |
parent | Remove unused import (diff) |
Merge pull request #1020 from python-discord/love-calculator-unsub-footer
Fix `.love` references to deprecated unsub command
Diffstat (limited to 'bot')
-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) |