diff options
author | stolenvw <stolenvw@hotmail.com> | 2021-04-15 18:54:05 -0400 |
---|---|---|
committer | stolenvw <stolenvw@hotmail.com> | 2021-04-15 18:54:05 -0400 |
commit | c5e6a213d5eda8b2122b8858ed53dc55a5537c9c (patch) | |
tree | 9ea74712c87217505dfde8bab0399ace34291ee1 /code/config.py | |
parent | 68e8f975c2cade235a0f2bdb2edfb20a467fc2b6 (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.py | 10 |
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" |