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)}")
|
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,
|
||||||
|
@ -63,7 +63,7 @@ class Ban(Type):
|
||||||
ctx.guild.id,
|
ctx.guild.id,
|
||||||
ctx.author.id,
|
ctx.author.id,
|
||||||
cls.moderation_type,
|
cls.moderation_type,
|
||||||
'USER',
|
'user',
|
||||||
target.id,
|
target.id,
|
||||||
None,
|
None,
|
||||||
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)}")
|
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,
|
||||||
|
@ -149,7 +149,7 @@ class Tempban(Ban):
|
||||||
ctx.guild.id,
|
ctx.guild.id,
|
||||||
ctx.author.id,
|
ctx.author.id,
|
||||||
cls.moderation_type,
|
cls.moderation_type,
|
||||||
'USER',
|
'user',
|
||||||
target.id,
|
target.id,
|
||||||
None,
|
None,
|
||||||
parsed_time,
|
parsed_time,
|
||||||
|
|
Loading…
Reference in a new issue