Skip to content

cc004/BandoriBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

264c23e · Aug 15, 2024
Mar 12, 2023
Mar 12, 2023
Aug 15, 2024
Dec 10, 2021
Jul 23, 2021
Mar 12, 2022
Mar 12, 2023
Nov 28, 2022
Nov 14, 2021
Jan 1, 2021
Sep 23, 2021
Dec 10, 2021
Dec 10, 2021
Oct 18, 2020
Nov 14, 2021
Sep 29, 2021
Aug 9, 2022

Repository files navigation

BandoriBot

A plugin based on Sora and onebot protocol

This plugin has a basic message handling framework and permission control. Some functions attached are listed below:

  • Bandori station (powered by bandoristation.com)
  • Bandori gacha simulation (powered by bestdori.com)
  • Priconne clanbattle management
  • Priconne period rank query and client api call
  • Priconne Schedule query
  • Priconne arena query (powered by www.pcrdfans.com)
  • Terraria Server Management
  • Custom Replies with regex or csharp code
  • Random Pixiv Images (powered by lolicon.app, pixiv.cat and api.acgmx.com)
  • Anti-revoke
  • Sekai event rank query (realtime)
  • Sekai station (memory based database)

Usage

The plugin is not designed to be one-click-startup. You need to enter the authkey at startup create a text file named authkey.txt containing the authkey and the http endpoint is hard coded as 127.0.0.1:8080. Meanwhile, You need to pass the qq id to the program through commandline, for example:

botclient\bandoribot.exe 2025551588

To send a picture, you need to make a directory named imagecache.

Some functions such as Gacha and Arena query need static resources, You need to download it from release and extract it into the folder.

please use mirai-http-api v1.9.x