Update main.py

This commit is contained in:
2026-05-24 18:13:28 +02:00
parent 5a1b5e04ce
commit 7ae0034de3

View File

@@ -583,6 +583,10 @@ async def handle_command(msg: str, message: discord.Message) -> tuple[str | disc
@bot.event @bot.event
async def on_message(message: discord.Message): async def on_message(message: discord.Message):
if message.content.lower() == "rc":
await message.reply("reaction bot is here")
return
try: try:
msg = message.content msg = message.content
if not msg.lower().startswith(CONFIG.prefix): if not msg.lower().startswith(CONFIG.prefix):