mirror of
https://github.com/NovaOSS/nova-cord.git
synced 2024-11-25 21:33:58 +01:00
Compare commits
No commits in common. "02f7780761cd3f4e97ab2354075d263bae7e1e86" and "a629e3f5d603eb00595668b6a372f177f585b87b" have entirely different histories.
02f7780761
...
a629e3f5d6
10
cord/bot.py
10
cord/bot.py
|
@ -41,11 +41,11 @@ async def on_message(message):
|
|||
await autochat.process(message)
|
||||
await bot.process_commands(message)
|
||||
|
||||
# @bot.slash_command(description='Chat with AI')
|
||||
# async def chat(interaction: nextcord.Interaction,
|
||||
# prompt: str = SlashOption(description='AI Prompt', required=True)
|
||||
# ):
|
||||
# await chatbot.respond(interaction, prompt)
|
||||
@bot.slash_command(description='Chat with AI')
|
||||
async def chat(interaction: nextcord.Interaction,
|
||||
prompt: str = SlashOption(description='AI Prompt', required=True)
|
||||
):
|
||||
await chatbot.respond(interaction, prompt)
|
||||
|
||||
@bot.slash_command(description='Sets your DMs up, so you can write the bot.')
|
||||
async def dm_setup(interaction: nextcord.Interaction):
|
||||
|
|
Loading…
Reference in a new issue