Update main.py
This commit is contained in:
4
main.py
4
main.py
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user