Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
all intents
Browse files
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.
|
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
|