aboutsummaryrefslogtreecommitdiffstats
path: root/botstrap.py
diff options
context:
space:
mode:
authorGravatar Boris Muratov <[email protected]>2023-03-30 12:17:03 +0300
committerGravatar GitHub <[email protected]>2023-03-30 12:17:03 +0300
commit778de88e707ddec1dee294c074839d186208313e (patch)
tree8fbddda75e9da4e47a48955a4ff9360acea486ee /botstrap.py
parentremove "circular" referencing of channel names (diff)
parentMerge pull request #2388 from brodycritchlow/inplace-tag (diff)
Merge branch 'main' into native-forum-channel-support
Diffstat (limited to 'botstrap.py')
-rw-r--r--botstrap.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/botstrap.py b/botstrap.py
index f882f48ab..b77b98f1b 100644
--- a/botstrap.py
+++ b/botstrap.py
@@ -24,16 +24,16 @@ GUILD_FORUM_TYPE = 15
if not BOT_TOKEN:
message = (
- "Couldn't find BOT_TOKEN in the environment variables."
- "Make sure to add it to the `.env` file likewise: `BOT_TOKEN=value_of_your_bot_token`"
+ "Couldn't find the `BOT_TOKEN` environment variable. "
+ "Make sure to add it to your `.env` file like this: `BOT_TOKEN=value_of_your_bot_token`"
)
log.warning(message)
raise ValueError(message)
if not GUILD_ID:
message = (
- "Couldn't find GUILD_ID in the environment variables."
- "Make sure to add it to the `.env` file likewise: `GUILD_ID=value_of_your_discord_server_id`"
+ "Couldn't find the `GUILD_ID` environment variable. "
+ "Make sure to add it to your `.env` file like this: `GUILD_ID=value_of_your_discord_server_id`"
)
log.warning(message)
raise ValueError(message)