Skip to content

Discord bot to pick random member from the voice channel you're in!

Notifications You must be signed in to change notification settings

andrenevesgomes/discord-user-pick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

discord-user-pick

A discord bot which helps you to pick a guinea pig 😏
Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. Contact
  6. Acknowledgments

About The Project

Product Name Screen Shot

Discord User Pick is a simple Discord bot that randomly picks a user from a given list of members. It's useful for games or contests where you need to select a winner among a group of participants.

(⬆️ back to top)

Built With

(⬆️ back to top)

Getting Started

Prerequisites

This bot requires Python 3.5, or higher and the following libraries:

  • discord.py
  1. Install Python 3.5 or higher: If you haven't already installed Python, download it from the official website and follow the installation instructions.

  2. Install VSCode: If you haven't already installed VSCode, download it from the official website and install it.

  3. Install discord.py library: we'll see how to do this in the Installation section.

Installation

  1. Clone this repository or download the script.
   git clone https://github.com/andrenevesgomes/discord-user-pick.git
  1. Install the required libraries using pip:
   pip install discord.py
  1. Create a new application and bot on the Discord Developer Portal.
  2. Invite the bot to your Discord server by generating an invite link on the Developer Portal.
  3. Copy the bot token and replace the DISCORD_TOKEN variable in the bot_config.env with it.
  4. Customize the command prefix and voice channel name in the script if desired.
  5. Run the script:
   python bot.py

Usage

  1. Join a voice channel in the Discord server.
  2. Type the command in a text channel where the bot is present:
   -pick @NameOfTheBot
  1. The bot will select a random member from the voice channel you are in and display their name in the text channel (remeber to giver the bot permissions).

(⬆️ back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(⬆️ back to top)

Contact

DM me - @andreneves-gomes

Project Link: https://github.com/andrenevesgomes/discord-user-pick

(⬆️ back to top)

Acknowledgments

(⬆️ back to top)

About

Discord bot to pick random member from the voice channel you're in!

Topics

Resources

Stars

Watchers

Forks

Languages