Skip to content
This repository was archived by the owner on Oct 3, 2022. It is now read-only.
Bhavya Girotra edited this page Feb 11, 2021 · 2 revisions

Although the bot is public, you can setup your own instance by following these instructions:

  1. Clone the repository by running git clone https://github.com/pseudocoder10/Lockout-Bot.
  2. Create a discord bot. Detailed instructions are here, After this step you must have the bot token with you.
  3. Go to applications page of the bot on Discord Developer Portal and disable both presence intent and server members intent.
  4. The bot uses PostgreSQL to manage its database. Instructions to setup psql can be found here.
  5. Fill the necessary variables in .env.example file and rename it to .env.
  6. Edit the OWNERS field in the file constants.py to the discord id of users whom you want to grant owner access.
  7. Install all the required libraries by running pip3 install -r requirements.txt
  8. Finally run the bot by executing python3 main.py
Clone this wiki locally