Update app.py
Browse files
app.py
CHANGED
@@ -87,6 +87,7 @@ async def safetychecks(ctx):
|
|
87 |
channel_id = 1100458786826747945
|
88 |
if ctx.channel.id != channel_id: # #bot-test = 1100458786826747945
|
89 |
print(f"If using a command, commands are not permitted in {ctx.channel}")
|
|
|
90 |
else:
|
91 |
await ctx.reply(f"✅{ctx.channel} is a valid channel for commands")
|
92 |
|
|
|
87 |
channel_id = 1100458786826747945
|
88 |
if ctx.channel.id != channel_id: # #bot-test = 1100458786826747945
|
89 |
print(f"If using a command, commands are not permitted in {ctx.channel}")
|
90 |
+
return False
|
91 |
else:
|
92 |
await ctx.reply(f"✅{ctx.channel} is a valid channel for commands")
|
93 |
|