Add auto kick functionality ()

- 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



Reviewed-on: 
Reviewed-by: VylpesTester <tester@vylpes.com>
Co-authored-by: Ethan Lane <ethan@vylpes.com>
Co-committed-by: Ethan Lane <ethan@vylpes.com>
This commit is contained in:
Ethan Lane 2025-01-03 17:47:16 +00:00 committed by Vylpes
parent bfbf386eeb
commit cdf689f1c5
16 changed files with 467 additions and 4 deletions
src/constants

View file

@ -1,3 +1,5 @@
export default class EmbedColours {
public static readonly Ok = 0x3050ba;
public static readonly Warning = 0xffbf00;
public static readonly Danger = 0xd2042d;
}