diff options
| author | 2023-03-30 22:45:58 +0200 | |
|---|---|---|
| committer | 2023-03-30 22:45:58 +0200 | |
| commit | 73de98ad21950caba96d073175974f28bf9434ab (patch) | |
| tree | dbe46753463c502efc09bab87479e855481bc490 /botstrap.py | |
| parent | rename site_api to site_api_client inside NominationApi for better differenti... (diff) | |
| parent | Bump sentry-sdk from 1.17.0 to 1.18.0 (#2497) (diff) | |
Merge branch 'main' into shtlrs/get-rid-of-site-config-var
Diffstat (limited to '')
| -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)  |