diff options
| author | 2021-03-15 15:27:45 -0700 | |
|---|---|---|
| committer | 2021-03-15 15:27:45 -0700 | |
| commit | 69ddce47076ef611cd250f6291d3dd0530b05790 (patch) | |
| tree | 4263cf62209c405441c347a20f7256d9dc619f74 | |
| parent | Merge pull request #1465 from python-discord/gitattributes (diff) | |
Defcon: fix naming conflict between threshold cmd and attribute
| -rw-r--r-- | bot/exts/moderation/defcon.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/moderation/defcon.py b/bot/exts/moderation/defcon.py index bd16289b9..bab95405c 100644 --- a/bot/exts/moderation/defcon.py +++ b/bot/exts/moderation/defcon.py @@ -157,9 +157,9 @@ class Defcon(Cog):          await ctx.send(embed=embed) -    @defcon_group.command(aliases=('t', 'd')) +    @defcon_group.command(name="threshold", aliases=('t', 'd'))      @has_any_role(*MODERATION_ROLES) -    async def threshold( +    async def threshold_command(          self, ctx: Context, threshold: Union[DurationDelta, int], expiry: Optional[Expiry] = None      ) -> None:          """  |