Skip to content

Commit

Permalink
format speed and support sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
lbr88 committed Dec 31, 2024
1 parent 53991c7 commit da0acd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/intervalsicu.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ async def profile_set(self, message: Message, key: str, value: str):
@bot_command(
category="Metrics",
description="View statistics over time. Usage: .intervals <metric> <timespan> (example: steps 7d or weight 2w)",
pattern="(steps|weight|distance|hr|sleep) ([0-9]+[ymdw])" # Hidden regex
pattern="(sleep|steps|weight|distance|hr|sleep) ([0-9]+[ymdw])" # Hidden regex
)
async def get_user_metrics(self, message: Message, metric: str, period: str):
uid = message.user_id
Expand Down

0 comments on commit da0acd6

Please sign in to comment.