# set the following variable to True to declare that you have modified the config
i_have_read_config = True
# replace with the private token of your bot, do not share this with anyone
bot_token = "NzY5NDAwMjk4MjY2NDI3NDQz.X5Od3Q.S-uO4KsKDhK8sTSsLersJmTh9Rg"
# minimum amount of seconds between check
# e.g. compare amount of messages sent in channel within past 30 seconds
check_frequency = 30
# determine amount of messages per check_frequency required for each slowmode band
# slowmode_delay must be an integer ranging from 0-21600 seconds
time_configs = {
# message_frequency: slowmode_delay
0: 0,
30: 1,
60: 3,
90: 5,
120: 10
}
# choose whether channels must be whitelisted for auto-slowmode to run there
channel_whitelisting_enabled = True
# ids of channels that auto slowmode will run in
# ignored if channel whitelisting is disabled
whitelisted_channels = [
00000000000000000,
00000000000000000
]
# blacklisted channels ids
# if whitelisting is disabled, the bot will ignore channels with these ids
blacklisted_channels = [
00000000000000000,
00000000000000000
]
Replies to Re: config.py
Title |
Name |
Language |
UNIX |
When |
Re: Re: config.py |
Tacky Baboon |
python |
1603510991 |
3 Years ago. |
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}