lunarflu HF Staff commited on
Commit
ff02996
·
1 Parent(s): 4bbe9e3

Synced repo using 'sync_with_huggingface' Github Action

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 not bot.user:
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>')