aboutsummaryrefslogtreecommitdiff
path: root/code/bot.py
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2024-04-11 00:36:23 -0500
committerParker <contact@pkrm.dev>2024-04-11 00:36:23 -0500
commit460c4c4935db26fe8edff4486bc7fb8d25f75cef (patch)
treeea43cddc3515f632f85bce98c0edd0b1c92def2f /code/bot.py
parent4d29721fcac35925dff4c0a8b5b83bcef5a53636 (diff)
Keep track of # of times commands are run
Diffstat (limited to 'code/bot.py')
-rw-r--r--code/bot.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/code/bot.py b/code/bot.py
index 21a0942..c27ca1a 100644
--- a/code/bot.py
+++ b/code/bot.py
@@ -28,6 +28,7 @@ class MyBot(commands.Bot):
bot = MyBot()
bot.remove_command("help")
+bot.temp_command_count = {} # command_name: count
@bot.event