fix(aurora): checking against the wrong bool value for silent
This commit is contained in:
parent
ee49d5b10c
commit
dd89bfaf34
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue