wop commited on
Commit
7298f29
1 Parent(s): ee76c96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,11 +1,12 @@
1
  import os
2
  import aiohttp
3
  from discord.ext import commands
 
4
 
5
  DISCORD_TOKEN = os.getenv("DISCORD_TOKEN")
6
  CLIENT_ID = os.getenv("CLIENT_ID")
7
 
8
- bot = commands.Bot(command_prefix="!")
9
 
10
  @bot.command()
11
  async def delete_all_commands(ctx):
 
1
  import os
2
  import aiohttp
3
  from discord.ext import commands
4
+ import discord
5
 
6
  DISCORD_TOKEN = os.getenv("DISCORD_TOKEN")
7
  CLIENT_ID = os.getenv("CLIENT_ID")
8
 
9
+ bot = commands.Bot(command_prefix="!", intents=discord.Intents.all)
10
 
11
  @bot.command()
12
  async def delete_all_commands(ctx):