Commit graph

7 commits

Author SHA1 Message Date
93ef8a8ae7 Split up moon counter from the database ()
# Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

- Create a separate moon counter to track how many moons a user has
- This is so we can start a user at a specific counter
- Added to the list command a counter to specify how many moons aren't being tracked with the bot



## Type of change

Please delete options that are not relevant.

- [x] New feature (non-breaking change which adds functionality)

# How Has This Been Tested?

Please describe the tests that you ran to verify the changes. Provide instructions so we can reproduce. Please also list any relevant details to your test configuration.

# Checklist

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that provide my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules

Reviewed-on: 
Reviewed-by: VylpesTester <tester@vylpes.com>
Co-authored-by: Ethan Lane <ethan@vylpes.com>
Co-committed-by: Ethan Lane <ethan@vylpes.com>
2025-02-03 17:42:11 +00:00
11ba4bb411 Merge branch 'main' into develop 2025-01-24 19:15:20 +00:00
cdf689f1c5 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>
2025-01-03 17:47:16 +00:00
674a4ac614 Fix typo in moon sql script 2024-08-17 16:54:11 +01:00
e2ec042fcd Add list moons command ()
- Add concept of moons to the database
- Add the list moons command to view a user's moons
- This command is paginated using buttons



Reviewed-on: 
Reviewed-by: VylpesTester <tester@vylpes.com>
Co-authored-by: Ethan Lane <ethan@vylpes.com>
Co-committed-by: Ethan Lane <ethan@vylpes.com>
2024-08-17 16:47:14 +01:00
5f054b02a5 Add cache helper to update user cache every 30 minutes 2024-03-01 18:25:24 +00:00
7decd28dc9
Feature/182 setup actions ()
* Create scripts

* Create github workflows

* Create initial DB migration script

* Make default bot prefix configurable

* Add bot token fetcher
2022-09-06 19:24:40 +01:00