Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
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(
|
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)
|