Skip to content

Commit be6731a

Browse files
committed
Added points function
1 parent 8b8afb6 commit be6731a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ def fetch_spreadsheet(speadsheet_id: str):
438438
@bot.command()
439439
@commands.has_any_role("Cabinet Member")
440440
async def points(ctx):
441-
await ctx.send(points_dict)
441+
formatted_points = "\n".join([f"{task} - {points}" for task, points in points_dict.items()])
442442

443443
# Run the bot
444444
bot.run(getenv("BOT_TOKEN"))

0 commit comments

Comments
 (0)