lunarflu commited on
Commit ·
4c07854
1
Parent(s): 72e3d96
Synced repo using 'sync_with_huggingface' Github Action
Browse files
app.py
CHANGED
|
@@ -581,26 +581,7 @@ async def falconprivate(ctx):
|
|
| 581 |
except Exception as e:
|
| 582 |
print(f"Error: {e}")
|
| 583 |
await ctx.reply(f"{e} cc <@811235357663297546> (falconprivate error)")
|
| 584 |
-
|
| 585 |
-
'''
|
| 586 |
-
|
| 587 |
-
store thread_id in falcon_threads
|
| 588 |
-
generate response
|
| 589 |
-
store response in falcon_chats
|
| 590 |
-
send response in thread
|
| 591 |
-
'''
|
| 592 |
|
| 593 |
-
# store file in custom falcon_chats path
|
| 594 |
-
# name file in falcon_chats using ctx.author.id
|
| 595 |
-
|
| 596 |
-
'''
|
| 597 |
-
if ctx.author.id in falcon_chats:
|
| 598 |
-
ctx.reply(f"{ctx.author.mention}, you already have an existing conversation! Use [under construction] to start a new one.")
|
| 599 |
-
# max 1 convo
|
| 600 |
-
# can only continue in thread
|
| 601 |
-
# auto clear?
|
| 602 |
-
'''
|
| 603 |
-
|
| 604 |
@bot.command()
|
| 605 |
async def falcon(ctx, *, prompt: str):
|
| 606 |
try:
|
|
|
|
| 581 |
except Exception as e:
|
| 582 |
print(f"Error: {e}")
|
| 583 |
await ctx.reply(f"{e} cc <@811235357663297546> (falconprivate error)")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 584 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 585 |
@bot.command()
|
| 586 |
async def falcon(ctx, *, prompt: str):
|
| 587 |
try:
|