https://github.com/z7pz/luna-giveaway
https://github.com/z7pz/luna-giveaway
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/z7pz/luna-giveaway
- Owner: z7pz
- Created: 2024-08-23T08:23:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-03T14:38:15.000Z (over 1 year ago)
- Last Synced: 2025-02-02T07:27:53.917Z (over 1 year ago)
- Language: Rust
- Size: 295 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Todo
## Stage 1
- [X] hydrate from database on restart
- [X] dynamic prefix
- [X] enable/disable commands on check_command
- [X] custom roles that have access to the commands
- [X] custom start embed and end embed
- [X] custom end message
- [X] reaction
## Stage 2
- [X] Create API
- [X] Discord auth
- /login
- /redirect?code
- user
## Stage 3
- [ ] pause/resume commands
- [ ] webhook (premium plan)
- [ ] debounce
## Bugs
- [ ] dont allow bots to interact
- [ ]
# Giveaway settings
- timer (required)
- prize (required)
- winners count (required)
- create rules (account age, active messages in specific room, invite counter) (optional)
- type (reaction/button) (optional default guild settings)
# User Profile
- show user giveaways (active/finished/paused) (rules required)
# Routes
### Server only
- [X] GET /server/:id/settings to get all server's settings
- [X] GET /server/:id/commands to get all server's commands
- [ ] POST /server/:id/settings to set settings to the server
- [X] GET /server/:id/giveaways to list all giveaways
## Public
- [X] GET /public/commands to get all bot's commands
- [X] GET /public/giveaways to list all active giveaways
## User
- [X] GET /user get user
- [X] GET /user/guilds get guilds
- [ ] GET /user/giveaways get giveaways