lunarflu HF staff commited on
Commit
42cb0fd
1 Parent(s): c31f921

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -148,7 +148,7 @@ async def add_exp(member_id):
148
  global global_df
149
 
150
  guild = bot.get_guild(879548962464493619)
151
- member = bot.get_user(member_id)
152
 
153
  lvl1 = guild.get_role(1171861537699397733)
154
  lvl2 = guild.get_role(1171861595115245699)
 
148
  global global_df
149
 
150
  guild = bot.get_guild(879548962464493619)
151
+ member = guild.get_member(member_id) # bot.get_user == User, guild.get_member == Member (not the same thing!)
152
 
153
  lvl1 = guild.get_role(1171861537699397733)
154
  lvl2 = guild.get_role(1171861595115245699)