aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2021-11-12 06:19:59 +0400
committerGravatar Hassan Abouelela <[email protected]>2021-11-12 06:19:59 +0400
commit40b58132d488bab962d8aeecfc932a1cb5842a85 (patch)
treed7406eed339a63be27024c410b16d54987056007 /bot/constants.py
parentDisable File Logs In Production (diff)
Move Sentry Into Init
Moves the sentry setup to be one of the very first things run during startup, so we are able to catch more errors, such as ones that might occur while setting up logs. Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 9d12000e..2b41b8a4 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -134,7 +134,6 @@ class Client(NamedTuple):
guild = int(environ.get("BOT_GUILD", 267624335836053506))
prefix = environ.get("PREFIX", ".")
token = environ.get("BOT_TOKEN")
- sentry_dsn = environ.get("BOT_SENTRY_DSN")
debug = environ.get("BOT_DEBUG", "true").lower() == "true"
github_bot_repo = "https://github.com/python-discord/sir-lancebot"
# Override seasonal locks: 1 (January) to 12 (December)
@@ -348,8 +347,6 @@ WHITELISTED_CHANNELS = (
Channels.voice_chat_1,
)
-GIT_SHA = environ.get("GIT_SHA", "foobar")
-
# Bot replies
ERROR_REPLIES = [
"Please don't do that.",