Discord Bot Update: Mudae-Style Rolling System

2025-05-22

Rolling System

Each user now receives 10 rolls per hour, tracked in the database.

  • Rolls decrement on each use, not just when a character is claimed
  • Claiming a character forfeits all remaining rolls until cooldown resets
  • Cooldown resets every hour, per user

Technical Changes

  • Database migration: added rolls_remaining and last_roll_reset fields
  • Supabase logic updated to handle cooldowns and roll counts
  • Embeds now include reactions for claiming
  • Improved error handling and logging

Bug Fix

Rolls weren’t decrementing correctly due to overwriting user data.
This is now fixed — existing data is preserved, and new users are only inserted once.


Availability

This feature is now live for all users in the server, not just the admin.


Summary

This update brings the bot much closer to a Mudae-like experience with:

  • Fair rolling
  • Claim/cooldown mechanics
  • Robust tracking