This commit is contained in:
= 2025-04-07 18:04:14 +07:00
parent 48f063d01f
commit c530ab4f2b

12
events/ai.py Normal file
View File

@ -0,0 +1,12 @@
import nextcord
from nextcord.ext import commands
import requests
class AI(commands.Cog):
def __init__(self, bot: commands.Bot):
self.client = bot
@commands.Cog.listener()
async def on_message_create(self, message: nextcord.Message):
print(message.content)
self.client.process_application_commands(message)