Temporarily removed "Chat with AI" feature

This commit is contained in:
nsde 2023-08-08 01:04:06 +02:00
parent 8cfd5b62ac
commit 66db7cceca

View file

@ -41,11 +41,11 @@ async def on_message(message):
await autochat.process(message) await autochat.process(message)
await bot.process_commands(message) await bot.process_commands(message)
@bot.slash_command(description='Chat with AI') # @bot.slash_command(description='Chat with AI')
async def chat(interaction: nextcord.Interaction, # async def chat(interaction: nextcord.Interaction,
prompt: str = SlashOption(description='AI Prompt', required=True) # prompt: str = SlashOption(description='AI Prompt', required=True)
): # ):
await chatbot.respond(interaction, prompt) # await chatbot.respond(interaction, prompt)
@bot.slash_command(description='Sets your DMs up, so you can write the bot.') @bot.slash_command(description='Sets your DMs up, so you can write the bot.')
async def dm_setup(interaction: nextcord.Interaction): async def dm_setup(interaction: nextcord.Interaction):