Skip to content

Heath-Lester/discord-bot-mobius

Repository files navigation

Discord Bot Personality Mobius

Temperamental Python (3.12) Discord Bot

Inspired by kkrypt0nn

How to run locally

  1. Install Python (obviously)
  2. Clone
  3. CD to cloned repository and open with VSCode:
code .
  1. Create a Python virtual environment (VSCode VE Setup)
  2. Install project dependencies:
python3 -m pip install -r requirements.txt
  1. Create a config.json file at the project level and add a prefix and invite_link:
{
    "prefix": "!",
    "invite_link": "https://discord.com/oauth2/authorize?client_id=1231284567344812033&permissions=633318429163329&scope=bot"
}
  1. Create an .env file at the project level with a bot TOKEN from Discord's developer portal:
TOKEN=discord_bot_token_without_quotes
  1. Start the server:
python3 main.py runserver