Comment on page
💻
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 and is behind by a lot. There may be bugs. 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
- 2.Navigate into the directory within your terminal and install the requirements.
pip3 install -r requirements.txt
- 3.Rename
.env.example
to.env
- 4.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.
- 5.
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=
- 5.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 forERROR_LOG_CHANNEL_ID_2
. - 6.Run and start the bot.
python main.py
It would be best to restart the bot again for all database tables to generate.
Last modified 1mo ago