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