1
Fork 0
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:
wlinator 2024-08-08 05:17:07 -04:00
parent 8fc29d6e36
commit 981d3b0373

View file

@ -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(