Community/Technical Guide

Timed Persistent Giveaways

Reboot-resilient giveaways backed by persistent storage, role requirement gates, and automatic winner draws.

01. Persistence & Restart Survival

Standard Discord bots store active giveaways in temporary memory, losing all entries if the bot restarts. Adremare stores all active giveaways in persistent database records with absolute timestamps (ends_at).

If the bot restarts or server updates occur, Adremare instantly resumes active giveaways upon reconnection and automatically draws winners for any giveaway that concluded during downtime.

02. Role Requirements & Interactive Buttons

Participants enter with a single click using a Discord interactive button (e.g. 🎉 Enter Giveaway). You can enforce mandatory role requirements (e.g., participants must possess the @Subscriber role to qualify).

03. Re-rolling Winners

If an elected winner fails to claim their prize, staff can re-roll a new winner from the existing participant pool using /giveaway reroll <message_id>.