diff --git a/events/ai.py b/events/ai.py new file mode 100644 index 0000000..3e657ac --- /dev/null +++ b/events/ai.py @@ -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)