diff --git a/settings.py b/settings.py index 9a6487a9..798ee165 100644 --- a/settings.py +++ b/settings.py @@ -88,7 +88,7 @@ def get_modlog_for_guild(guildid): channel = modlogs[guildid] if channel is not None: return channel - return Exception + return None # Before initialising the cache. Store the prefixes from the database within the cache