bot-test
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ async def safetychecks(ctx):
|
|
91 |
#β
β
check if the command is in the allowed channel(s)
|
92 |
bot_test = 1100458786826747945
|
93 |
testing_the_bot = 1113182673859518514
|
94 |
-
channel_ids = [bot_test
|
95 |
if ctx.channel.id not in channel_ids:
|
96 |
print(f"{ctx.author}, commands are not permitted in {ctx.channel}")
|
97 |
thread = await ctx.message.create_thread(name=f'Channel Error')
|
@@ -308,7 +308,6 @@ async def deepfloydif(ctx, *, prompt: str):
|
|
308 |
custom_timesteps_1 = 'smart50'
|
309 |
number_of_inference_steps = 50
|
310 |
api_name = '/generate64'
|
311 |
-
awdadaw
|
312 |
await thread.send(f'{ctx.author.mention}Generating images in thread, can take ~1 minute...')
|
313 |
|
314 |
except Exception as e:
|
|
|
91 |
#β
β
check if the command is in the allowed channel(s)
|
92 |
bot_test = 1100458786826747945
|
93 |
testing_the_bot = 1113182673859518514
|
94 |
+
channel_ids = [bot_test]
|
95 |
if ctx.channel.id not in channel_ids:
|
96 |
print(f"{ctx.author}, commands are not permitted in {ctx.channel}")
|
97 |
thread = await ctx.message.create_thread(name=f'Channel Error')
|
|
|
308 |
custom_timesteps_1 = 'smart50'
|
309 |
number_of_inference_steps = 50
|
310 |
api_name = '/generate64'
|
|
|
311 |
await thread.send(f'{ctx.author.mention}Generating images in thread, can take ~1 minute...')
|
312 |
|
313 |
except Exception as e:
|