Synced repo using 'sync_with_huggingface' Github Action
Browse files
app.py
CHANGED
@@ -611,7 +611,7 @@ async def falcon(ctx, *, prompt: str):
|
|
611 |
global falcon_threads
|
612 |
global falcon_dictionary
|
613 |
global falcon_userid_threadid_dictionary
|
614 |
-
if ctx.author
|
615 |
if ctx.channel.id == 1116089829147557999: # initial thread creation inside #falcon
|
616 |
if ctx.author.id not in falcon_users: # create a new one
|
617 |
await ctx.message.add_reaction('<a:loading:1114111677990981692>')
|
|
|
611 |
global falcon_threads
|
612 |
global falcon_dictionary
|
613 |
global falcon_userid_threadid_dictionary
|
614 |
+
if not ctx.author.bot:
|
615 |
if ctx.channel.id == 1116089829147557999: # initial thread creation inside #falcon
|
616 |
if ctx.author.id not in falcon_users: # create a new one
|
617 |
await ctx.message.add_reaction('<a:loading:1114111677990981692>')
|