Feat: Set delete messages to 30 minutes.
build_develop / build (push) Successful in 32s

This commit is contained in:
2025-07-16 16:03:26 -04:00
parent e191df1a38
commit 1b08ba1355
+1 -1
View File
@@ -24,7 +24,7 @@ class SubmissionListener(commands.Cog, name="Message Listener"):
# due to message.author not being a nextcord.Member object.
if message.channel.id == settings.channel_ids.ban and isinstance(message.author, nextcord.Member):
await message.author.ban(
delete_message_days=1, reason=f"{message.author.nick} messaged in the ban channel!"
delete_message_seconds=30 * 60, reason=f"{message.author.nick} messaged in the ban channel!"
)
return