Skip to content

Commit

Permalink
Added points function
Browse files Browse the repository at this point in the history
  • Loading branch information
ezhil56x committed Jan 25, 2024
1 parent 8b8afb6 commit be6731a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def fetch_spreadsheet(speadsheet_id: str):
@bot.command()
@commands.has_any_role("Cabinet Member")
async def points(ctx):
await ctx.send(points_dict)
formatted_points = "\n".join([f"{task} - {points}" for task, points in points_dict.items()])

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

0 comments on commit be6731a

Please sign in to comment.