diff options
author | 2023-03-24 19:58:42 +0000 | |
---|---|---|
committer | 2023-03-24 19:58:42 +0000 | |
commit | cc36306547b2b40abfa95a247504aba06a9ea9b6 (patch) | |
tree | a45b29799f8e0054a07847ec41f5e381326cb1f9 /botstrap.py | |
parent | Bump beautifulsoup4 from 4.11.2 to 4.12.0 (#2480) (diff) |
Improve wording in botstrap error
Diffstat (limited to 'botstrap.py')
-rw-r--r-- | botstrap.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/botstrap.py b/botstrap.py index 90a954d9b..90c2c2fbc 100644 --- a/botstrap.py +++ b/botstrap.py @@ -18,16 +18,16 @@ GUILD_ID = os.getenv("GUILD_ID", None) 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) |