This repository was archived by the owner on Feb 24, 2025. It is now read-only.
Repository navigation
Initial release (v1.0.0)
Code Breakdown
-
struct giveaway -> a structure for maintaining multiple giveaways.
|
std::function pending_giveaway -> thread all giveaways elsewhere to be maintained -
void button_pressed() -> a function to receive and act on button interactions
|
std::unordered_map btn_sender -> a map to maintain all button requests (async) -
void release_command() -> a function to receive and act on slash command interactions
|
std::unordered_map cmd_sender -> a map to maintain all slash command requests (async)