Spaces:
Building
Building
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,8 @@ from cash import cash
|
|
10 |
from dice import dice
|
11 |
from admincash import admincash
|
12 |
from shop import shop
|
13 |
-
from cashapp import cashapp
|
|
|
14 |
|
15 |
app = FastAPI()
|
16 |
intents = discord.Intents.default()
|
@@ -28,7 +29,8 @@ tree.add_command(cash)
|
|
28 |
tree.add_command(dice)
|
29 |
tree.add_command(admincash)
|
30 |
tree.add_command(shop)
|
31 |
-
tree.add_command(cashapp)
|
|
|
32 |
|
33 |
@bot.event
|
34 |
async def on_ready():
|
|
|
10 |
from dice import dice
|
11 |
from admincash import admincash
|
12 |
from shop import shop
|
13 |
+
from cashapp import cashapp
|
14 |
+
from database import database # Add this line
|
15 |
|
16 |
app = FastAPI()
|
17 |
intents = discord.Intents.default()
|
|
|
29 |
tree.add_command(dice)
|
30 |
tree.add_command(admincash)
|
31 |
tree.add_command(shop)
|
32 |
+
tree.add_command(cashapp)
|
33 |
+
tree.add_command(database) # Add this line
|
34 |
|
35 |
@bot.event
|
36 |
async def on_ready():
|