Montana Discord Bot

a COMPLETELY USELESS discord bot

MONTANA is a Discord bot designed to be serve as a functional assistant during my online classes in the covid period, it also includes numerous entertainment features.

Features

  • Echo: Repeats a given message.
  • Mashtali: Shares a link to a specific educational resource (hidden command).
  • Vote: Creates a vote with customizable options and reactions.
  • Patak: Starts a vote on “difficulty” and “beauty” with predefined reactions.
  • Album: Fetches and sends the most recent images from a specified subreddit with options for NSFW content, random posts, or file formats (PDF/ZIP).
  • Ping: Measures and reports the bot’s response time.
  • Uptime: Displays how long the bot has been online.
  • Dokme: Toggles the bot’s online status between “online” and “invisible” (admin only).
  • Remind: Sets a reminder that will be echoed at the specified time.
  • Countdown: Creates a countdown timer, displaying the remaining time until it reaches zero.
  • Zanbil Detector: A game-like feature where users in a voice channel must react to a prompt or face “penalty” points for failure (admin/teacher roles only).

Installation

  1. Clone the Repository:

     git clone https://github.com/sahroush/Montana
     cd Montana
    
  2. Set Up a Discord Bot:

  3. Create a MEGA Account:

    • Sign up for a MEGA account to enable the upload functionality.
  4. Configure Environment Variables:

    Set your Discord bot token and MEGA credentials:

     export TOKEN="YOUR_BOT_TOKEN"
     export MEGAemail="YOUR_MEGA_EMAIL"
     export MEGApassword="YOUR_MEGA_PASSWORD"
    
  5. Install Dependencies and Run the Bot:

    Ensure you have Python 3 installed. Then, install the required packages and start the bot:

     pip install -r requirements.txt
     python3 bot.py
    

Usage

Once the bot is running, it will listen for commands in your Discord server. Use the appropriate commands to interact with the bot and utilize its features.