lunarflu HF staff commited on
Commit
4c68a14
1 Parent(s): ee5d8f7

all intents

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -25,9 +25,7 @@ def convert_to_timezone(dt, tz):
25
  return dt.astimezone(tz).strftime("%Y-%m-%d %H:%M:%S %Z")
26
 
27
  DISCORD_TOKEN = os.environ.get("DISCORD_TOKEN", None)
28
- intents = discord.Intents.default()
29
- intents.message_content = True
30
-
31
  bot = commands.Bot(command_prefix='!', intents=intents)
32
 
33
  #rate_limiter = RateLimiter(max_calls=10, period=60) # needs testing
 
25
  return dt.astimezone(tz).strftime("%Y-%m-%d %H:%M:%S %Z")
26
 
27
  DISCORD_TOKEN = os.environ.get("DISCORD_TOKEN", None)
28
+ intents = discord.Intents.all()
 
 
29
  bot = commands.Bot(command_prefix='!', intents=intents)
30
 
31
  #rate_limiter = RateLimiter(max_calls=10, period=60) # needs testing