AdityaSharmaTech commited on
Commit
755bd26
·
verified ·
1 Parent(s): bce3b26

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -56,7 +56,8 @@ async def handle_message(message: discord.Message):
56
  global allowed_channels
57
 
58
  print(f"channel: {message.channel.id}")
59
- if message.channel.id not in allowed_channels or "1368647373110382702" not in content:
 
60
  return
61
 
62
  if "start" in content and str(user) == "adityasharmalive" and status is False:
 
56
  global allowed_channels
57
 
58
  print(f"channel: {message.channel.id}")
59
+
60
+ if( message.channel.id not in allowed_channels) or ("1368647373110382702" not in content):
61
  return
62
 
63
  if "start" in content and str(user) == "adityasharmalive" and status is False: