An open API service indexing awesome lists of open source software.

https://github.com/z7pz/luna-giveaway


https://github.com/z7pz/luna-giveaway

Last synced: about 1 year ago
JSON representation

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