Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -249,7 +249,7 @@ async def add_exp(member_id):
|
|
249 |
embed.title = f"Level Up! `{current_level-1}` -> `{current_level}`"
|
250 |
msg = f'π€ Congrats {member}! You just leveled up in the Hugging Face Discord server'
|
251 |
embed.description = f"{msg}."
|
252 |
-
embed.add_field(name="Leaderboard Ranking:", value=f"π **{rank}**\nhttps://discord.com/channels/879548962464493619/1197143964994773023", inline=True)
|
253 |
# can use ^ to track changes in leaderboard ranking and display in levelup message when climbing
|
254 |
# (green red arrow thingies)
|
255 |
# could also pull ranks above and below yourself (if they exist, i.e.)
|
|
|
249 |
embed.title = f"Level Up! `{current_level-1}` -> `{current_level}`"
|
250 |
msg = f'π€ Congrats {member}! You just leveled up in the Hugging Face Discord server'
|
251 |
embed.description = f"{msg}."
|
252 |
+
embed.add_field(name="Leaderboard Ranking:", value=f"π **{rank}**\n\nhttps://discord.com/channels/879548962464493619/1197143964994773023", inline=True)
|
253 |
# can use ^ to track changes in leaderboard ranking and display in levelup message when climbing
|
254 |
# (green red arrow thingies)
|
255 |
# could also pull ranks above and below yourself (if they exist, i.e.)
|