AdityaSharmaTech commited on
Commit
2769f4c
·
verified ·
1 Parent(s): 92c1a96

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -0
main.py CHANGED
@@ -5,6 +5,7 @@ from dotenv import load_dotenv
5
  import discord
6
  from discord.ext import commands
7
  from glai import GLAI
 
8
 
9
  load_dotenv()
10
 
@@ -56,6 +57,9 @@ async def handle_message(message: discord.Message):
56
  global allowed_channels
57
 
58
  print(f"channel: {message.channel.id}")
 
 
 
59
 
60
  if (message.channel.id in allowed_channels) or ("1368647373110382702" in content):
61
  if "start" in content and str(user) == "adityasharmalive" and status is False:
 
5
  import discord
6
  from discord.ext import commands
7
  from glai import GLAI
8
+ import time
9
 
10
  load_dotenv()
11
 
 
57
  global allowed_channels
58
 
59
  print(f"channel: {message.channel.id}")
60
+
61
+ if message.channel.id == 1371683872974311575:
62
+ time.sleep(2)
63
 
64
  if (message.channel.id in allowed_channels) or ("1368647373110382702" in content):
65
  if "start" in content and str(user) == "adityasharmalive" and status is False: