2.1.1 • Published 4 years ago

mirai-bot v2.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

BUU BOT V2

time tracker

A BUUOJ BOT rebuild on mirai (Developing)

Based on:

Dependency Environments

  • Docker
  • Docker Compose
  • nodejs
  • Jre

Start

Config & build

If you don't have yarn, install it by npm install -g yarn before install, (or change script by yourself.

yarn

Then copy config.example.yml to config.yml and change the config then run

yarn run config
yarn run build

Start

docker-compose up -d

check logs

docker-compose logs -f

How to write your own plugins

TODO

Known issue

  • In the first build or in some cases, the login will fail and you need to enter the verification code.
  • Because Mirai is in the development stage, there may be bugs such as not receiving information

If you find some issue about the bot, see the issues below. Maybe you can find some useful information.