Skip to content

zanngujjar/muterelmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Relmin Mute Bot

A Discord bot that allows users to vote to temporarily mute relmin

Features

  • Vote-based muting system
  • Requires users to be in a designated voice channel to vote
  • Configurable vote duration and required vote count
  • Automatic unmuting after specified duration

Setup

  1. Clone this repository

  2. Install dependencies:

    pip install -r requirements.txt
  3. Create a .env file based on .env.example and fill in your Discord bot configuration:

    • DISCORD_TOKEN: Your Discord bot token
    • GUILD_ID: Your server ID
    • TEXT_CHANNEL_ID: ID of the text channel for commands
    • VOICE_CHANNEL_ID: ID of the voice channel to monitor
  4. Run the bot:

    python relmin_Mute.py

Usage

Use the !muterelmin command in the designated text channel while being in the designated voice channel to start a vote to mute the relmin.

Configuration

You can modify these variables in relmin_Mute.py:

  • VOTE_DURATION: How long the vote lasts (default: 30 seconds)
  • REQUIRED_VOTES: Number of votes needed to mute (default: 2)
  • MUTE_DURATION: How long the user stays muted (default: 180 seconds)
  • TARGET_USER_ID: The ID of the user who can be muted (currently relmin)

About

mutes relmin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages