The search feature of Discord can be used for checking how many effort estimation points was achieved for an specific user. Building this query could be confusing. This slash command helps a user to find out the query.
Screenshots
Checklist
[ ] There is a new command /my-points-query
[ ] This command accepts three optionals arguments: year, month and user
[ ] If user is not provided bot takes the current user
[ ] If month is not provided bot takes the last month
[ ] If year is not provided bot takes the current year
[ ] The bot returns the user a query that the user can use on the Discord search bar
[ ] The mentions on the search bar are escaped (for example instead of @TaskCompleted the bot should return <@&1203085046769262592>). This is the way discord handle the Tags internally, using those IDs and can be use for searching. For manually get escaped users ids you can make @user and then put a \ at beggining of the mention. \@user. then send it and it will give you the user escaped id
[ ] The bot returns the query in a block code, for example:
Explanation
The search feature of Discord can be used for checking how many effort estimation points was achieved for an specific user. Building this query could be confusing. This slash command helps a user to find out the query.
Screenshots
Checklist
/my-points-query
year
,month
anduser
@user
and then put a\
at beggining of the mention.\@user
. then send it and it will give you the user escaped idIn this example the query is looking for messages that mention @TaskCompleted @heliomar between May 2024 and Jun 2024
References