summaryrefslogtreecommitdiff
path: root/code/config.py
diff options
context:
space:
mode:
authorstolenvw <stolenvw@hotmail.com>2021-04-15 18:54:05 -0400
committerstolenvw <stolenvw@hotmail.com>2021-04-15 18:54:05 -0400
commitc5e6a213d5eda8b2122b8858ed53dc55a5537c9c (patch)
tree9ea74712c87217505dfde8bab0399ace34291ee1 /code/config.py
parent68e8f975c2cade235a0f2bdb2edfb20a467fc2b6 (diff)
Added role check for commands, so you can set what roles users need to use a command.
Set commands to only work in the LOGCHAN_ID channel if not owner. Owner can use commands in any channel.
Diffstat (limited to 'code/config.py')
-rw-r--r--code/config.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/code/config.py b/code/config.py
index 30e7f16..82a8c86 100644
--- a/code/config.py
+++ b/code/config.py
@@ -48,3 +48,13 @@ USEDEBUGCHAN = True
# BUGCHANNEL - where the bot shows debug info
BUGCHANNEL_ID = 7293481670000121
+
+# Commands Roles. Discord roles that can use command.
+DEATHS_CMD = "@everyone"
+STATS_CMD = "@everyone"
+PLAYERSTATS_CMD = "@everyone"
+ACTIVE_CMD = "@everyone"
+VERSIONS_CMD = "@everyone"
+VPLUS_CMD = "@everyone"
+SETSTATUS_CMD = "Admin"
+SAVESTATS_CMD = "Admin","Mod"