Synced repo using 'sync_with_huggingface' Github Action
Browse files- falcon180b.py +3 -0
falcon180b.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])
|