Compare commits
2 commits
fac00feeef
...
dd89bfaf34
Author | SHA1 | Date | |
---|---|---|---|
dd89bfaf34 | |||
ee49d5b10c |
1 changed files with 4 additions and 4 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)}")
|
||||
|
||||
if silent is True:
|
||||
if silent is False:
|
||||
try:
|
||||
embed = await message_factory(
|
||||
bot,
|
||||
|
@ -63,7 +63,7 @@ class Ban(Type):
|
|||
ctx.guild.id,
|
||||
ctx.author.id,
|
||||
cls.moderation_type,
|
||||
'USER',
|
||||
'user',
|
||||
target.id,
|
||||
None,
|
||||
None,
|
||||
|
@ -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)}")
|
||||
|
||||
if silent is True:
|
||||
if silent is False:
|
||||
try:
|
||||
embed = await message_factory(
|
||||
bot,
|
||||
|
@ -149,7 +149,7 @@ class Tempban(Ban):
|
|||
ctx.guild.id,
|
||||
ctx.author.id,
|
||||
cls.moderation_type,
|
||||
'USER',
|
||||
'user',
|
||||
target.id,
|
||||
None,
|
||||
parsed_time,
|
||||
|
|
Loading…
Reference in a new issue