fix(aurora): checking against the wrong bool value for silent
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s

This commit is contained in:
Seaswimmer 2024-07-06 11:52:19 -04:00
parent ee49d5b10c
commit dd89bfaf34
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -41,7 +41,7 @@ class Ban(Type):
response_message = await ctx.send(f"{target.mention} has been {cls.verb}!\n{bold('Reason:')} {inline(reason)}") response_message = await ctx.send(f"{target.mention} has been {cls.verb}!\n{bold('Reason:')} {inline(reason)}")
if silent is True: if silent is False:
try: try:
embed = await message_factory( embed = await message_factory(
bot, bot,
@ -127,7 +127,7 @@ class Tempban(Ban):
response_message = await ctx.send(f"{target.mention} has been {cls.verb} for {humanize_timedelta(parsed_time)}!\n{bold('Reason:')} {inline(reason)}") response_message = await ctx.send(f"{target.mention} has been {cls.verb} for {humanize_timedelta(parsed_time)}!\n{bold('Reason:')} {inline(reason)}")
if silent is True: if silent is False:
try: try:
embed = await message_factory( embed = await message_factory(
bot, bot,