lunarflu HF Staff commited on
Commit
204cec9
·
1 Parent(s): 66b13bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import gradio as gr
7
  from gradio_client import Client
8
 
9
  DISCORD_TOKEN = os.environ.get("DISCORD_TOKEN", None)
10
- bot = commands.Bot(command_prefix='!')
11
  intents = discord.Intents.all()
12
 
13
  @bot.event
 
7
  from gradio_client import Client
8
 
9
  DISCORD_TOKEN = os.environ.get("DISCORD_TOKEN", None)
10
+ bot = commands.Bot(command_prefix='!', intents=intents)
11
  intents = discord.Intents.all()
12
 
13
  @bot.event