Skip to content

General purpose discord bot written in python with the discord.py library. Base of Yinbot

License

Notifications You must be signed in to change notification settings

dashwav/nano-chan

Repository files navigation

CircleCI

nano-chan

(Not so) General purpose discord bot written in python for the discord.py rewrite library

I try to code this in a style that will continually surprise me no matter how often I look at the codebase

Requirements:

python > 3.6
Postgresql
  1. Set up DB
sudo -u postgres psql
CREATE DATABASE nanochan;
CREATE USER nanochan WITH PASSWORD '';
GRANT ALL PRIVILEGES ON DATABASE nanochan TO nanochan;
  1. Install dependencies
pip install -r requirements.txt
  1. Set up config.yml in ./config/config.yml with token and db creds

  2. run with python3 run.py

DOCKER (WIP)

Docker (CE edition is fine)

Steps to run:

  • Clone repo (duh)
  • Copy config/example_config.yml to config/config.yml and edit values as needed.
  • Run docker-compose up
  • Invite bot to server.

Once you have changed some code:

  • Run docker-compose build yinbot
  • Re-run docker-compose up

Common Issues:

About

General purpose discord bot written in python with the discord.py library. Base of Yinbot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published