lunarflu HF Staff commited on
Commit
e761e2a
·
1 Parent(s): 7a977bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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