Spaces:
Running on CPU Upgrade

lunarflu HF staff commited on
Commit
5eb1560
·
verified ·
1 Parent(s): 6012f0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -132,9 +132,11 @@ async def periodic_api_test(): # needs rewrite, can do same thing and interact w
132
  async def add_exp(member_id):
133
  try:
134
  global global_df
135
-
 
 
136
  guild = bot.get_guild(879548962464493619)
137
- member = guild.get_member(str(member_id))
138
  print(member)
139
  lvl1 = guild.get_role(1171861537699397733)
140
  lvl2 = guild.get_role(1171861595115245699)
 
132
  async def add_exp(member_id):
133
  try:
134
  global global_df
135
+ print(member_id)
136
+ print(int(member_id))
137
+ print(str(member_id))
138
  guild = bot.get_guild(879548962464493619)
139
+ member = guild.get_member(int(member_id))
140
  print(member)
141
  lvl1 = guild.get_role(1171861537699397733)
142
  lvl2 = guild.get_role(1171861595115245699)