Skip to content

Ultra03/BottyMcBotface

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIR (Botty McBotface)

Moderation bot for r/Jailbreak

Prerequisites for setup

  • Python
  • poetry
  • pyenv
  • MongoDB server

Setup

  1. pyenv install 3.9.0
  2. pyenv shell
  3. poetry install (use flag --no-dev for prod)
  4. poetry shell
  5. Create a file called .env. in the root of the project and define the following:
BOTTY_TOKEN      = "DISCORD TOKEN"
BOTTY_OWNER      = OWNER ID (int)
BOTTY_MAINGUILD  = MAIN GUILD ID (int)
BOTTY_NSAGUILD   = NSA GUILD ID (int)
LAVALINK_PASS    = "yourpasswwordhere"

-- you only need BOTTY_ENV if using locally
BOTTY_ENV        = "DEVELOPMENT"
  1. Download the latest version of the Lavalink jar file from here, and put it in the root of the project
  2. Set up the application.yml as shown in the example here, also in the root of the project. Use the same password as in the .env file. You need not change anything else.
  3. Run Lavalink with java -jar Lavalink.jar
  4. Set up mongodb on your system
  5. python main.py - if everything was set up properly you're good to go!

First time use

If you aren't porting from Janet, you don't have any baseline data for the bot to work. I wrote a short script setup.py which you should fill in with data from your own server, then run python setup.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%