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:
|
else:
|
||||||
evidence = None
|
evidence = None
|
||||||
if skip_confirmation is 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 = {
|
passed_info = {
|
||||||
"target": target,
|
"target": target,
|
||||||
"timedelta": timedelta,
|
"timedelta": timedelta,
|
||||||
|
|
Loading…
Reference in a new issue