Add a user's relative age to the GuildMemberAdd and GuildMemberRemove events #545

Open
Vylpes wants to merge 2 commits from feature/9-member-logs-age into release/3.5.0
Owner
  • In the GuildMemberAdd and GuildMemberRemove events, when there's a date it'll now display its relative age to now
  • This is in the format of "(ISO DATE) x days ago"
  • It will round to the nearest biggest unit it can
  • Tests have been added also

#9

- In the `GuildMemberAdd` and `GuildMemberRemove` events, when there's a date it'll now display its relative age to now - This is in the format of "(ISO DATE) `x days ago`" - It will round to the nearest biggest unit it can - Tests have been added also #9
Add relative age string to guildmemberadd and guildmemberremove
Some checks failed
Test / build (push) Failing after 1m7s
4731ce83e1
Fix tests
All checks were successful
Test / build (push) Successful in 37s
de3f60143e
All checks were successful
Test / build (push) Successful in 37s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/9-member-logs-age:feature/9-member-logs-age
git switch feature/9-member-logs-age

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch release/3.5.0
git merge --no-ff feature/9-member-logs-age
git switch feature/9-member-logs-age
git rebase release/3.5.0
git switch release/3.5.0
git merge --ff-only feature/9-member-logs-age
git switch feature/9-member-logs-age
git rebase release/3.5.0
git switch release/3.5.0
git merge --no-ff feature/9-member-logs-age
git switch release/3.5.0
git merge --squash feature/9-member-logs-age
git switch release/3.5.0
git merge --ff-only feature/9-member-logs-age
git switch release/3.5.0
git merge feature/9-member-logs-age
git push origin release/3.5.0
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RabbitLabs/vylbot-app!545
No description provided.