Add auto kick functionality (#502)
- 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 Reviewed-on: #502 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:
parent
bfbf386eeb
commit
cdf689f1c5
16 changed files with 467 additions and 4 deletions
src/constants
|
@ -1,3 +1,5 @@
|
|||
export default class EmbedColours {
|
||||
public static readonly Ok = 0x3050ba;
|
||||
public static readonly Warning = 0xffbf00;
|
||||
public static readonly Danger = 0xd2042d;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue