joytou commited on
Commit
f9c1eff
1 Parent(s): cc78e99

Add tree async

Browse files
Files changed (1) hide show
  1. 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