aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-10-11 15:02:20 -0700
committerGravatar MarkKoz <[email protected]>2019-10-11 15:02:20 -0700
commitb0577e15368d46a6ea852621a4a13c30b77073fb (patch)
treee9ef3ac310c4ff88ef22af81040fba18a8ee23d6
parentCheck that the periodic ping author is the bot (diff)
Get the prefix from the config for the periodic ping message
-rw-r--r--bot/cogs/verification.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/verification.py b/bot/cogs/verification.py
index bd18a7eba..f1af2eb2b 100644
--- a/bot/cogs/verification.py
+++ b/bot/cogs/verification.py
@@ -6,7 +6,7 @@ from discord.ext import tasks
from discord.ext.commands import Bot, Cog, Context, command
from bot.cogs.modlog import ModLog
-from bot.constants import Channels, Event, Roles
+from bot.constants import Bot as BotConfig, Channels, Event, Roles
from bot.decorators import InChannelCheckFailure, in_channel, without_role
log = logging.getLogger(__name__)
@@ -30,7 +30,7 @@ If you'd like to unsubscribe from the announcement notifications, simply send `!
"""
PERIODIC_PING = (
- "@everyone To verify that you have read our rules, please type `!accept`."
+ f"@everyone To verify that you have read our rules, please type `{BotConfig.prefix}accept`."
f" Ping <@&{Roles.admin}> if you encounter any problems during the verification process."
)