From 979bda4601ffbbef126702cb5d03f743b4c626d1 Mon Sep 17 00:00:00 2001 From: akanealw Date: Mon, 15 Jul 2024 09:31:54 -0500 Subject: [PATCH] uncommented ban line --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 5fb72bd..e267b61 100644 --- a/app.py +++ b/app.py @@ -63,7 +63,7 @@ async def on_message(message: discord.Message): if message.content: # Here we ban the user cause they posted in the channel :) if not DEBUG: - # message.author.ban(reason=f"Posted in the {channel.name} channel.") + message.author.ban(reason=f"Posted in the {channel.name} channel.") logging.info(f"{message.author} was banned for posting in {channel.name}.") else: await message.channel.send(content=f"{message.author} is a bozo.")