lunarflu HF staff commited on
Commit
0122efc
·
1 Parent(s): bf4124b

Synced repo using 'sync_with_huggingface' Github Action

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -106,10 +106,6 @@ async def api_test(ctx):
106
  print(f"Failed to retrieve data. Status code: {response.status_code}")
107
 
108
 
109
-
110
-
111
-
112
-
113
  @bot.command(name='get_cell_value')
114
  async def get_cell_value(ctx, row, col):
115
  cell = worksheet2.cell(row, col)
@@ -192,8 +188,8 @@ async def add_exp(member_id):
192
  print(f"Gave {member} {current_role}")
193
  await member.remove_roles(lvls[current_level-1])
194
  print(f"Removed {lvls[current_level-1]} from {member}")
195
- print(f"{member} Level up! {current_level-1} -> {current_level}!")
196
- #await member.send(f"Level up! {[current_level-1]} -> {current_level}!")
197
 
198
  except Exception as e:
199
  print(f"add_exp Error: {e}")
 
106
  print(f"Failed to retrieve data. Status code: {response.status_code}")
107
 
108
 
 
 
 
 
109
  @bot.command(name='get_cell_value')
110
  async def get_cell_value(ctx, row, col):
111
  cell = worksheet2.cell(row, col)
 
188
  print(f"Gave {member} {current_role}")
189
  await member.remove_roles(lvls[current_level-1])
190
  print(f"Removed {lvls[current_level-1]} from {member}")
191
+ #print(f"{member} Level up! {current_level-1} -> {current_level}!")
192
+ await member.send(f"Level up! {current_level-1} -> {current_level}!")
193
 
194
  except Exception as e:
195
  print(f"add_exp Error: {e}")