Compare commits

..

2 commits

Author SHA1 Message Date
nsde 02f7780761 Merge branch 'main' of https://github.com/NovaOSS/nova-cord 2023-08-08 01:04:08 +02:00
nsde 66db7cceca Temporarily removed "Chat with AI" feature 2023-08-08 01:04:06 +02:00

View file

@ -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):