Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
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
|