Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.
/ nagatoro Public archive
forked from Daste745/nagatoro

Modular bot for various tasks

License

Notifications You must be signed in to change notification settings

mlunax/nagatoro

 
 

Repository files navigation

Nagatoro's avatar
Nagatoro
Invite Nagatoro to your server

License Issues Discord

Features

Global profiles and rankings

Earn experience through typing and level up and gain coin rewards.

Profile

Moderation

As a moderator, you can mute and warn members on your server.

Muting Warning

AniList integration

Thanks to AniList's API, you can see info about you favorite anime, manga, studio and much more on the fly. More features are coming soon™️.

Anime Studio

Running Nagatoro

With Docker

Make sure you have docker and docker-compose installed. There are two ways to run Nagatoro through docker:

1: Build the image:
  • Clone the repository
  • Rename .env.example to .env and populate it with approperiate configuration variables
  • Run docker-compose up -d - this should build the image and run the app
  • To check logs, use docker-compose logs
2: Use the latest public image
  • Make a folder called nagatoro
  • Inside the folder create a file named docker-compose.yml with this content:
version: "3"

services:
  nagatoro:
    image: ghcr.io/stefankar1000/nagatoro/nagatoro:latest
    restart: unless-stopped
    environment:
      - TOKEN=bot_token
      - PREFIX=prefix
      - ...
  • Add other variables in the environment section, same as in .env.example
  • Start with docker-compose up -d and check logs with docker-compose logs
  • To update the image to its latest version, use docker-compose pull and restart with docker-compose up -d

Manual

  • Make sure you have python version 3.8 or higher installed. You can check by running python3 --version
  • Rename .env.example to .env and fill in all required configuration values
  • Create a Discord application and input its token into the config
  • (optional) Get a Tenor API key and add it to the config
  • Put credentials to a MySQL database in the config
  • Install all dependencies: python3.8 -m pip install -r requirements.txt --upgrade --user
  • Run the bot: python3.8 nagatoro.py

About

Modular bot for various tasks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.4%
  • Other 0.6%