🎮Revive

Social & Entertainment


📋 Overview

The Revive module provides interactive games designed to boost server activity and engagement during quiet periods. The system features four distinct game types (Truth, Dare, Never Have I Ever, Would You Rather), uses an interactive dropdown menu for game selection, pulls random questions from curated text files, includes an optional reviver role mention for notifications, features interactive buttons for game actions (new question, delete), and operates on a 30-second cooldown to prevent spam. Games are presented with beautiful embeds and can be controlled only by the command user.


⚙️ How It Works

Game Selection System: When /revive is used, an interactive dropdown menu appears with four game options:

  • 💭 Truth Challenge: Thought-provoking truth questions

  • 🎯 Dare Challenge: Daring challenge tasks

  • 🎲 Never Have I Ever: Experience-based questions

  • 🤔 Would You Rather: Difficult choice scenarios

Game Flow:

  1. User executes /revive command

  2. System checks for configured reviver role

  3. If reviver role exists, it's mentioned to notify interested members

  4. Dropdown menu displays with four game options

  5. User selects desired game from dropdown

  6. Random question/prompt loads from corresponding text file

  7. Game-specific view displays with interactive buttons

  8. User can get new question or delete the game message

  9. Other members can view but not control the game

Content Loading:

  • All game content loaded once at bot startup for performance

  • Files read from Text_files directory

  • Content stored in memory for instant access

  • Random selection from available questions

  • Graceful error handling if files missing

Reviver Role System:

  • Optional configurable role for notifications

  • Role mention included in initial message if configured

  • Alerts interested members when games start

  • No role required to use command

  • Stored in database per server

Permission Controls:

  • Only command author can use dropdown selection

  • Only command author can press game buttons

  • Non-authors receive ephemeral error message

  • Prevents game hijacking by other members

Timeout Handling:

  • Dropdown menu: 180 seconds (3 minutes)

  • Game views: Varies by game type

  • Buttons disable on timeout

  • Message remains visible after timeout


🔑 Key Commands

/revive

Description: Interactive games to revive server activity Access: All members Cooldown: 30 seconds Default Permissions: None required (open to all) Function: Opens interactive game selection menu with four options. Mentions reviver role if configured. Presents beautiful embed with game descriptions.

Game Types:

💭 Truth Challenge:

  • Description: Answer thought-provoking truth questions

  • Content file: truth_.txt

  • Interactive buttons for new question and delete

  • Questions range from personal to philosophical

🎯 Dare Challenge:

  • Description: Accept daring challenges

  • Content file: dare_.txt

  • Interactive buttons for new question and delete

  • Challenges encourage fun activities

🎲 Never Have I Ever:

  • Description: Play Never Have I Ever

  • Content file: nhie_.txt

  • Interactive buttons for new question and delete

  • Statements about experiences to share

🤔 Would You Rather:

  • Description: Choose between two challenging scenarios

  • Content file: wyr_.txt

  • Interactive buttons for new question and delete

  • Difficult choice scenarios

Selection Menu:

  • Dropdown placeholder: "🎮 Choose a game to play..."

  • Each option shows emoji, name, and description

  • Selection updates message with chosen game

  • Only command author can select

  • 3-minute timeout period

Game Controls (Common to all games):

  • New Question Button: Loads another random question from same game type

  • Delete Button: Removes the game message entirely

  • Only command author can use buttons

  • Non-authors get error message

Visual Features:

  • Beautiful blue embeds (BLUE constant)

  • Server icon as thumbnail

  • Bot avatar in footer

  • Timestamps on all embeds

  • Clear formatting and structure

Error Handling:

  • File loading errors caught and logged

  • Provides fallback error message

  • Non-author interactions blocked

  • Timeout disables buttons gracefully

Reviver Role Mention:

  • Checks database for configured role

  • Mentions role if exists

  • No mention if role not configured

  • Does not block command if role missing

  • Separate from message content


👥 Who It's For

All Members: Can use /revive command to start games

Active Members: Start games to encourage participation

Command Author: Only they can control game selection and buttons

Reviver Role Members: Receive notifications when games start (if role configured)

Administrators: Can configure reviver role via setup commands


💡 Why This Feature

Combats dead chat periods with engaging content. Provides structured conversation starters. Encourages member interaction and participation. Creates fun atmosphere during slow times. Offers variety with four different game types. Low barrier to entry (one command). Interactive elements increase engagement. Random content prevents repetition. Reviver role alerts interested members. Prevents spam through cooldown. Beautiful presentation increases appeal. Control limitations prevent chaos. Suitable for all audiences. Easy to use interface. Promotes community bonding.



Made by DIVINITY • Pleasure Corner

Last updated

Was this helpful?