Inspired by Twitch predictions, a Bot to track user engagement and create prediction events in Discord chat.
- Point System
- Engagement Tracking which is OPT-IN ONLY
- Points on: Initial opt-in, Message Creation, Message Reaction, Voice channel activity
- Spam Protection and Inactivity detection
- Role System
- Command suite to manage the bot
- Predictions
- Users of all role levels can enter the prediction for a variable amount of time (Short: 30 seconds, Medium: 60 seconds, Long: 90 seconds)
- Predictions last an indefinite amount of time
- Ending the prediction cashes out the winners proportionally to the amount of points that they enter
- Predictions can be ended with a given prediction ID or by using an END PREDICTION button tied to each prediction message
Example Prediction Flow:
- Admin level has complete control over all predictions and user roles
- Manager level has control over the prediction they create
- Players can enter predictions with the given points that they have
The data is stored on a local SQLite database on the secured local server the bot i s located. The data models, and subsequently all tracked data types NOT VALUES, are available in the /prisma folder. I am the sole manager and have sole access to the data stored in the database. This data will never be shared for any purposes other than uses explicitly for the functionality of this bot. The bot tracks as little data as possible to keep predictions functional. Users opting in acknowledge and accept this data tracking.
Feel free to submit a pull request or reach out at [email protected]