NinoDiscord / Nino

🔨 仁野 — Cute, advanced discord moderation bot made in Kord. Make your server cute and automated with utilities for you and your server moderators! ☆ ~('▽^人)
https://nino.sh
MIT License
123 stars 33 forks source link
discord discord-api discord-bot discord-hack-week docker kord kotlin

🔨 Nino

Cute, advanced discord moderation bot made in Eris. Make your server cute and automated with utilities for you and your server moderators *:・゚✧*:・゚✧
GitHub Workflow Status GitHub License Noelware Server

Features

...and much more!

Support

Need support related to Nino or any microservices under the organization? Join in the Noelware Discord server in #support under the Nino category:

discord embed owo

Contributing

View our contributing guidelines and code of conduct before contributing.

Self-hosting

Before attempting to self-host Nino, we didn't plan for users to be able to self-host their own instance of Nino. Most builds are usually buggy and untested as of late, we do have a "stable" branch but it can be buggy sometimes! If you want to use cutting edge features that are most likely not finished, view the edge branch for more details. The "stable" branch is master, so anything that should be stable will be added to the upstream.

We will not provide support on how to self-host Nino, use at your own risk! If you do not want to bother hosting it, you can always invite the public instance which will be the same experience if you hosted it or not.

Prerequisites

Before running your own instance of Nino, you will need the following tools:

If you're moving from v0 to v1, you will need your MongoDB instance before to port the database and Rei installed on your system.

There is tools that are optional but are mostly recommended in some cases:

Setting up

There are 2 ways to setup Nino: using Docker or just doing shit yourself. Doing it yourself can very tedious of how much Nino uses from v0 to v1 since Nino utilizes microservices! ☆♬○♩●♪✧♩((ヽ( ᐛ )ノ))♩✧♪●♩○♬☆

Docker

# 1. Clone the repository
$ git clone https://github.com/NinoDiscord/Nino.git && cd Nino

# 2. Create a image
$ docker build -t nino:latest --no-cache .

# 3. Run the image
$ docker run -d \
  --volume './config.yml:/opt/Nino/config.yml:ro' \ # read-only
  nino:latest

# OPTIONAL: Use docker-compose.yml to run the services
$ docker-compose up -d

Normal

# 1. Clone the repository
$ git clone https://github.com/NinoDiscord/Nino.git && cd Nino

# 2. Install the dependencies
$ npm install

# 3. Build the project
$ npm run build

# 4. Run the project
$ npm start

Migrating from v0.x -> v1.x

If you used v0.x in the past, this is the process on how to migrate:

Example config.yml file

environment: development
token: <discord token>

prefixes:
  - !

database:
  url: postgres://<username>:<password>@<host>:<port>/<database>

redis:
  host: <host>
  port: 6379

timeouts:
  port: 4025
  auth: <auth>

Maintainers

Hackweek Participants