fix: fixed the skip_confirmation check
This commit is contained in:
parent
4bd296d52a
commit
f0767343e9
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class Shortmute(commands.Cog):
|
|||
else:
|
||||
evidence = None
|
||||
if skip_confirmation is None:
|
||||
skip_confirmation = await self.config.guild(interaction.guild).confirm()
|
||||
skip_confirmation = not bool(await self.config.guild(interaction.guild).confirm())
|
||||
passed_info = {
|
||||
"target": target,
|
||||
"timedelta": timedelta,
|
||||
|
|
Loading…
Reference in a new issue