Skip to content

Discord bot that helps create teams for League of Legends

Notifications You must be signed in to change notification settings

thesarfo/LoL-matchmacker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Discord bot that helps create teams for League of Legends based on the players' rankings. Users may register their League of Legends summoner name and participate in team formation.

What it can do

  • Register and associate a League of Legends summoner name with a Discord user.
  • Display the list of players ready to play.
  • Add players to the playing list.
  • Close the lobby and form balanced teams.
  • Send the balanced teams and player ranks to the connected Discord server.

Setup

  1. Clone the repository.
  2. Install the required dependencies using pipenv:
pipenv install
  1. Create a new Discord bot and obtain its token from the Discord Developer Portal.
  2. Create a new file named .env in the root directory and add the following line:
TOKEN=<your_discord_bot_token>

Replace <your_discord_bot_token> with the token obtained in step 3.

  1. Run the bot using the below command:
pipenv run start

Usage

Once the bot is running and connected to your Discord server, you can use the following commands to interact with it:

  • !ping: Check if the bot is responsive.
  • !reset: Clear the playing list.
  • !playlist: Display the list of players ready to play.
  • !register <summoner_name>: Register your League of Legends summoner name.
  • !play: Add yourself to the playing list.
  • !close: Close the lobby and form balanced teams.

About

Discord bot that helps create teams for League of Legends

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages