sentry stuff

This commit is contained in:
Emily 2021-03-13 14:32:17 +11:00
parent 761cb38e3b
commit 7ed859d8e5

View file

@ -123,7 +123,7 @@ client.eventLoader.loadEventModules();
client.createEventListeners();
// Development mode is set in botconfig.yml, and disables some stuff if enabled. Imagine how messy Sentry would be without this!
if (client.config.devmode === true) {
if (client.config.developmentMode === false) {
try {
sentry.init({ dsn: client.config.keys.sentry });
} catch (err) {