lunarflu HF staff commited on
Commit
784c951
·
1 Parent(s): 50142e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -61,6 +61,9 @@ async def chat(ctx, prompt: str):
61
  if ctx.author.id == bot.user.id:
62
  return
63
  try:
 
 
 
64
  message = await ctx.send("Creating thread...")
65
 
66
  thread = await message.create_thread(name=prompt[:100])
 
61
  if ctx.author.id == bot.user.id:
62
  return
63
  try:
64
+ if ctx.guild.id == 879548962464493619:
65
+ if ctx.channel.id != 1119313248056004729:
66
+ return
67
  message = await ctx.send("Creating thread...")
68
 
69
  thread = await message.create_thread(name=prompt[:100])