aboutsummaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
authorSkycloudd <51929172+Skycloudd@users.noreply.github.com>2020-09-27 10:06:57 +0000
committerSkycloudd <51929172+Skycloudd@users.noreply.github.com>2020-09-27 10:06:57 +0000
commitb9ac88864c832e0283c4fdcb9041900533f8807b (patch)
tree7f8bfbf0e09305d45806d8ddef744dccbe9a802a /bot.py
parent4cbf4910ed2cea0c15497c8f911af2ba7e3b89d0 (diff)
downloadsteve-bot-b9ac88864c832e0283c4fdcb9041900533f8807b.tar
steve-bot-b9ac88864c832e0283c4fdcb9041900533f8807b.tar.gz
steve-bot-b9ac88864c832e0283c4fdcb9041900533f8807b.tar.bz2
steve-bot-b9ac88864c832e0283c4fdcb9041900533f8807b.tar.lz
steve-bot-b9ac88864c832e0283c4fdcb9041900533f8807b.tar.xz
steve-bot-b9ac88864c832e0283c4fdcb9041900533f8807b.tar.zst
steve-bot-b9ac88864c832e0283c4fdcb9041900533f8807b.zip
add global error handler
handles these errors: - CommandNotFound (does nothing) - CommandOnCooldown (does nothing)
Diffstat (limited to 'bot.py')
-rwxr-xr-xbot.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot.py b/bot.py
index 320a805..77b1562 100755
--- a/bot.py
+++ b/bot.py
@@ -16,6 +16,7 @@ extensions = [
# "cogs.webserver",
# "cogs.twitter",
"cogs.logs",
+ "cogs.errorhandler"
]