Add auto kick functionality #502

Open
Vylpes wants to merge 10 commits from feature/485-auto-kick into hotfix/3.2.4
Owner
  • Add command to configure the auto kick function
  • Added ability to run functions on a cron job
  • Added a cron job every hour to check if a user has had a role for a configured amount of time and kick them if they have
    • The function also optionally sends a notice embed at a configured time before the kick

#485

- Add command to configure the auto kick function - Added ability to run functions on a cron job - Added a cron job every hour to check if a user has had a role for a configured amount of time and kick them if they have - The function also optionally sends a notice embed at a configured time before the kick #485
Vylpes added 9 commits 2024-12-28 16:42:24 +00:00
WIP: Start creating autokick command
All checks were successful
Test / build (push) Successful in 7s
bc3c16bdcb
Create autokick command
All checks were successful
Test / build (push) Successful in 7s
8d1befcf25
WIP: Start of creating autokick timer
All checks were successful
Test / build (push) Successful in 15s
94a2965e8e
WIP: Add to the timer the kick functionality
All checks were successful
Test / build (push) Successful in 13s
afafe246a8
Add notice channel sending functionality
All checks were successful
Test / build (push) Successful in 12s
40a9764192
Fix time checking using the wrong function
All checks were successful
Test / build (push) Successful in 13s
6c48da114a
Vylpes added 1 commit 2024-12-28 16:42:58 +00:00
Stop timer from running on start
All checks were successful
Test / build (push) Successful in 12s
95eab83250
Vylpes requested review from VylpesTester 2024-12-28 16:43:17 +00:00
Vylpes added the
type
change
label 2024-12-28 16:43:30 +00:00
VylpesTester was assigned by Vylpes 2024-12-28 16:43:34 +00:00
All checks were successful
Test / build (push) Successful in 12s
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/485-auto-kick:feature/485-auto-kick
git checkout feature/485-auto-kick

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 checkout hotfix/3.2.4
git merge --no-ff feature/485-auto-kick
git checkout feature/485-auto-kick
git rebase hotfix/3.2.4
git checkout hotfix/3.2.4
git merge --ff-only feature/485-auto-kick
git checkout feature/485-auto-kick
git rebase hotfix/3.2.4
git checkout hotfix/3.2.4
git merge --no-ff feature/485-auto-kick
git checkout hotfix/3.2.4
git merge --squash feature/485-auto-kick
git checkout hotfix/3.2.4
git merge --ff-only feature/485-auto-kick
git checkout hotfix/3.2.4
git merge feature/485-auto-kick
git push origin hotfix/3.2.4
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#502
No description provided.