aboutsummaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
authorAnInternetTroll <lucafulger@gmail.com>2020-06-14 10:09:39 +0000
committerAnInternetTroll <lucafulger@gmail.com>2020-06-14 10:09:39 +0000
commitc87ade2e08b0117bd5a0db5611ce47287fbfb6de (patch)
tree6c541d011ed271ed8293dee2f7967b9af8644e83 /bot.py
parentb889beaa39fb60adb81c422fc9ccc30b3ebd8293 (diff)
downloadsteve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.tar
steve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.tar.gz
steve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.tar.bz2
steve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.tar.lz
steve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.tar.xz
steve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.tar.zst
steve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.zip
Better logging
Diffstat (limited to 'bot.py')
-rw-r--r--bot.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot.py b/bot.py
index 2721110..ccd8d22 100644
--- a/bot.py
+++ b/bot.py
@@ -36,6 +36,7 @@ class BedrockBot(commands.Bot):
def __init__(self):
super().__init__(command_prefix=get_prefix, case_insensitive=True)
self.logger = logging.getLogger('discord')
+ self.messageBlacklist = []
with open('custom_commands.json', 'r') as f:
self.custom_commands = json.load(f)