From cc36306547b2b40abfa95a247504aba06a9ea9b6 Mon Sep 17 00:00:00 2001 From: wookie184 Date: Fri, 24 Mar 2023 19:58:42 +0000 Subject: Improve wording in botstrap error --- botstrap.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'botstrap.py') 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) -- cgit v1.2.3