ðŸ’ŧRunning Locally

Prerequisites

I encourage you to Invite the Bot to your server, but if you want to make some changes and host it yourself, feel free. GitHub Repo.

Please note the open-source version of this bot is no longer being updated. It's intended to give you a working prototype to adapt and improve.

For the most up-to-date version, please invite the bot.

  1. Clone or download the repository. To clone, run the following command

git clone [email protected]:InHouseQueue/InHouseQueue.git
  1. Navigate into the directory within your terminal and install the requirements.

pip3 install -r requirements.txt
  1. Rename .env.example to .env

  2. Fill in variables as instructed in the .env file. You must fill in each emoji ID for the game you play. If you only plan to play League of Legends, you don't need to fill in the IDs for Valorant and Overwatch.

  3. Feel free to check out this repository to automate the retrieval of all emojis IDs in your server.


TOKEN=

# Example MID="<:MID:1066065288862380033>"
# To get this, In discord, Enter the emoji and add \ to the start of it. Then press enter.
TOP=""
JUNGLE=""
MID=""
SUPPORT=""
ADC=""

CONTROLLER=""
DUELIST=""
INITIATOR=""
SENTINEL=""

TANK=""
DPS=""
SUPPORT_OW=""

# Discord ID of Owners. Use the SAME ID for BOTH values if there is only 1 owner.
DEV_1=
DEV_2=

# Guild/Server ID of where the bot is running. Use the SAME ID for BOTH values if there is only 1 server.
GUILD_1=
GUILD_2=

# Discord ID of the Bot
BOT_ID=

# Discord ID of the Error Log channel. Use the SAME ID for BOTH values if there is only 1 error log channel.
ERROR_LOG_CHANNEL_ID_1=
ERROR_LOG_CHANNEL_ID_2=
  1. Create a new text channel for error logs. Copy the channel ID and use this for ERROR_LOG_CHANNEL_ID_1 . If you only wish to have one error log channel, use the same ID for ERROR_LOG_CHANNEL_ID_2.

  2. Run and start the bot.

python main.py

Setup the Bot

  1. /setchannel [channel] [game]

  2. /setwinner log [channel] [game]

  3. /top_ten [channel] [game]

  4. Start a queue inside your queue channel with /start

It would be best to restart the bot again for all database tables to generate.

Last updated