mirror of
https://github.com/wlinator/luminara.git
synced 2024-10-02 18:03:12 +00:00
feat: Add delete_message_seconds parameter to ban_user function
This commit is contained in:
parent
8fc29d6e36
commit
981d3b0373
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ async def ban_user(cog, ctx, target: discord.User, reason: Optional[str] = None)
|
|||
ctx.author.name,
|
||||
formatter.shorten(output_reason, 200),
|
||||
),
|
||||
delete_message_seconds=86400,
|
||||
)
|
||||
|
||||
respond_task = ctx.respond(
|
||||
|
|
Loading…
Reference in a new issue