mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-22 02:37:57 -05:00
[Mod] Add default tempban duration setting (#4473)
* Add support for default duration in kickban.py * add setting command and info to settings view * add config key * black * Thx jack Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> * adress review * Address review * typo Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
@@ -58,6 +58,7 @@ class Mod(
|
||||
"current_tempbans": [],
|
||||
"dm_on_kickban": False,
|
||||
"default_days": 0,
|
||||
"default_tempban_duration": 60 * 60 * 24,
|
||||
}
|
||||
|
||||
default_channel_settings = {"ignored": False}
|
||||
|
||||
Reference in New Issue
Block a user