Compare commits
No commits in common. "dd89bfaf34738feea7ba1aab73914ecda236db21" and "fac00feeeffd048ea150900fde9ed8dc576c54ee" have entirely different histories.
dd89bfaf34
...
fac00feeef
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 False:
|
if silent is True:
|
||||||
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 False:
|
if silent is True:
|
||||||
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