Skip to content

fakebhai/Discord-disconnect-bot

Repository files navigation

Discord-disconnect-bot (Voice Channel Disconnect Bot)

Voice channel management bot for discord

This Discord bot allows you to disconnect users from voice channels after a specified amount of time.

Installation

  1. Clone the repository:
git clone https://github.com/fakebhai/Discord-disconnect-bot.git
  1. Navigate to the project directory:
cd Discord-disconnect-bot
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Rename the .example.env file to .env

  2. Open the .env file and add your Discord bot token.

  3. Run the bot:

python main.py

Make sure you have Python and pip installed before proceeding with the installation.

Usage

The bot uses the following commands:

  • !disconnect or !d @user [time]: Disconnects the mentioned user from the voice channel after a specified time. The time can be in seconds (s), minutes (m), or hours (h).

  • !cancel or !c @user: Cancels the disconnect command for the mentioned user.

  • !queue or !q: Displays the current queue of disconnect commands.

License

This project is licensed under the GNU General Public License v3.0. You can find the full license text in the LICENSE file.

Contributions

Contributions are welcome! If you find any issues or have suggestions, feel free to open an issue or submit a pull request.

Disclaimer

Please use this bot responsibly and ensure that you have the necessary permissions to disconnect users from voice channels. Remember to comply with Discord's Terms of Service and Developer Terms. The bot developer is not responsible for any misuse or violations.

About

Voice channel management bot for discord

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages