diff options
| author | 2021-01-26 21:51:02 +0200 | |
|---|---|---|
| committer | 2021-01-26 21:51:02 +0200 | |
| commit | aeaebbd9a49afa5e53070afc5498ad5a25cad6fe (patch) | |
| tree | 576e923c751693e6687192e31b474946648674fb | |
| parent | Merge branch 'mbaruh/defcon' of https://github.com/python-discord/bot into mb... (diff) | |
Defon doesn't reset the number of days
| -rw-r--r-- | bot/exts/moderation/defcon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/defcon.py b/bot/exts/moderation/defcon.py index a180d7aae..e0baab099 100644 --- a/bot/exts/moderation/defcon.py +++ b/bot/exts/moderation/defcon.py @@ -182,7 +182,7 @@ class Defcon(Cog): Currently, this just adds an account age requirement. Use !defcon days <int> to set how old an account must be, in days. """ - await self._defcon_action(ctx, days=0, action=Action.ENABLED) + await self._defcon_action(ctx, days=self.days, action=Action.ENABLED) @defcon_group.command(name='disable', aliases=('off', 'd'), root_aliases=("defoff",)) @has_any_role(*MODERATION_ROLES) |