Compare commits

..

No commits in common. "dd89bfaf34738feea7ba1aab73914ecda236db21" and "fac00feeeffd048ea150900fde9ed8dc576c54ee" have entirely different histories.

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)}")
if silent is False:
if silent is True:
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 False:
if silent is True:
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,