Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,7 +40,7 @@ def truncate_response(response: str) -> str:
|
|
| 40 |
|
| 41 |
intents = discord.Intents.default()
|
| 42 |
intents.message_content = True
|
| 43 |
-
bot = commands.Bot(command_prefix="
|
| 44 |
|
| 45 |
|
| 46 |
@bot.event
|
|
@@ -58,7 +58,7 @@ thread_to_user = {}
|
|
| 58 |
|
| 59 |
@bot.hybrid_command(
|
| 60 |
name="chat",
|
| 61 |
-
description="Enter some text to chat with the bot! Like this:
|
| 62 |
)
|
| 63 |
async def chat(ctx, prompt: str):
|
| 64 |
if ctx.author.id == bot.user.id:
|
|
|
|
| 40 |
|
| 41 |
intents = discord.Intents.default()
|
| 42 |
intents.message_content = True
|
| 43 |
+
bot = commands.Bot(command_prefix="$", intents=intents)
|
| 44 |
|
| 45 |
|
| 46 |
@bot.event
|
|
|
|
| 58 |
|
| 59 |
@bot.hybrid_command(
|
| 60 |
name="chat",
|
| 61 |
+
description="Enter some text to chat with the bot! Like this: $chat Hello, how are you?",
|
| 62 |
)
|
| 63 |
async def chat(ctx, prompt: str):
|
| 64 |
if ctx.author.id == bot.user.id:
|