Skip to content

Commit d782906

Browse files
committed
Added points function
1 parent be6731a commit d782906

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bot.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def embed_generator(
9999
@bot.command()
100100
async def ping(ctx):
101101
"""Check to see if bot is working. Also returns path of the script"""
102-
msg = f"I'm alive! {ctx.message.author.mention} 🤗"
102+
msg = f"I'm alive!"
103103
print(msg)
104104
await ctx.send(msg)
105105

@@ -439,6 +439,7 @@ def fetch_spreadsheet(speadsheet_id: str):
439439
@commands.has_any_role("Cabinet Member")
440440
async def points(ctx):
441441
formatted_points = "\n".join([f"{task} - {points}" for task, points in points_dict.items()])
442+
await ctx.send(f"```{formatted_points}```")
442443

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

0 commit comments

Comments
 (0)