Spaces:
Running
Running
Add tree async
Browse files- discord_bot.py +1 -0
discord_bot.py
CHANGED
@@ -63,6 +63,7 @@ async def ping(ctx):
|
|
63 |
|
64 |
@bot.event
|
65 |
async def on_ready():
|
|
|
66 |
print('We have logged in as {0.user}'.format(bot))
|
67 |
|
68 |
|
|
|
63 |
|
64 |
@bot.event
|
65 |
async def on_ready():
|
66 |
+
await tree.sync()
|
67 |
print('We have logged in as {0.user}'.format(bot))
|
68 |
|
69 |
|