mirror of
https://github.com/NovaOSS/nova-cord.git
synced 2024-11-25 18:33:57 +01:00
Compare commits
2 commits
a629e3f5d6
...
02f7780761
Author | SHA1 | Date | |
---|---|---|---|
02f7780761 | |||
66db7cceca |
10
cord/bot.py
10
cord/bot.py
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue