Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -92,7 +92,7 @@ async def on_message(message):
|
|
| 92 |
is_debug = "debug:" in message.content or "Debug:" in message.content
|
| 93 |
async with message.channel.typing():
|
| 94 |
cleaned_message=message.content.replace("debug:", "").replace("Debug:","").replace(f'<@{client.user.id}>',"")
|
| 95 |
-
response
|
| 96 |
print(response)
|
| 97 |
sent_message = await message.reply(response)
|
| 98 |
|
|
|
|
| 92 |
is_debug = "debug:" in message.content or "Debug:" in message.content
|
| 93 |
async with message.channel.typing():
|
| 94 |
cleaned_message=message.content.replace("debug:", "").replace("Debug:","").replace(f'<@{client.user.id}>',"")
|
| 95 |
+
response = await handle_chat(cleaned_message)
|
| 96 |
print(response)
|
| 97 |
sent_message = await message.reply(response)
|
| 98 |
|