Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -230,7 +230,7 @@ async def on_reaction_add(reaction, user):
|
|
230 |
@bot.command(name='update_leaderboard')
|
231 |
async def update_leaderboard(ctx):
|
232 |
channel = bot.get_channel(1197143964994773023)
|
233 |
-
message = await channel.fetch_message(
|
234 |
|
235 |
new_leaderboard_data = [("User 1", 120), ("User 2", 90), ("User 3", 70)]
|
236 |
new_table = tabulate(new_leaderboard_data, headers=["User", "Score"], tablefmt="plain")
|
@@ -249,7 +249,8 @@ async def send_message(ctx):
|
|
249 |
message = await channel.send(f"Leaderboard:\n```\n{table}\n```")
|
250 |
|
251 |
|
252 |
-
|
|
|
253 |
|
254 |
|
255 |
|
|
|
230 |
@bot.command(name='update_leaderboard')
|
231 |
async def update_leaderboard(ctx):
|
232 |
channel = bot.get_channel(1197143964994773023)
|
233 |
+
message = await channel.fetch_message(1197148293164187678)
|
234 |
|
235 |
new_leaderboard_data = [("User 1", 120), ("User 2", 90), ("User 3", 70)]
|
236 |
new_table = tabulate(new_leaderboard_data, headers=["User", "Score"], tablefmt="plain")
|
|
|
249 |
message = await channel.send(f"Leaderboard:\n```\n{table}\n```")
|
250 |
|
251 |
|
252 |
+
# embeds with user pfps?
|
253 |
+
# name, pfp, time in server....
|
254 |
|
255 |
|
256 |
|