lunarflu HF staff commited on
Commit
c7ed7f7
1 Parent(s): 2eddccf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -0
app.py CHANGED
@@ -91,6 +91,28 @@ async def level(ctx):
91
  await ctx.send('You have not earned any XP yet.')
92
 
93
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  def run_bot():
95
  client.run(DISCORD_TOKEN)
96
 
 
91
  await ctx.send('You have not earned any XP yet.')
92
 
93
 
94
+
95
+
96
+
97
+
98
+
99
+ @client.hybrid_command(name="levelbot", with_app_command=True, description="check level")
100
+ @app_commands.guilds(MY_GUILD)
101
+ async def levelbot(ctx):
102
+ try:
103
+ await ctx.send(f'test')
104
+ except Exception as e:
105
+ print(f"Error: {e}")
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
  def run_bot():
117
  client.run(DISCORD_TOKEN)
118