Skip to content

PolyU-Robocon/ChatBridgeReforged_Robocon

 
 

Repository files navigation

# WARNING

This is a fork repo from lgpl lisense repo, So please be careful if you want to copy it to other places

  • only tested for python 3.7 and 3.8
  • python version should be 3.7+
  • pip install -r requirements.txt to install requirements!
  • Please give a star to the original repo if you like this repository
  • use trio for Asynchronous processing
  • more feature will be release in the future
  • Ricky is a suck author
    • But he will try his best to maintain this repository
    • Please cheer him so that he will be happy to maintain this repository

Basic

use ##help to get plugin help command

use ##CBR to get help command

CBR Server setup

Put all ChatBridgeReforged server files in a directory like

ChatBridgeReforged
-cbr
-ChatBridgeReforged_Server.py

Start server with run ChatBridgeReforged_Server.py

Put ChatBridgeReforged_MC.py in MCDR's plugins file

Setup config.yml in previous directory and config/ChatBridgeReforged_MC.json in MCDR's directory

Config

edit config.yml for config

server_setting

Dict

config data type description
host_name string ip address for hosting
port int port for hosting
aes_key string key for AES encryption

clients

list

config data type description
name string name of client
password string password of client

log

Dict

config data type description
size_to_zip double size to zip the file latest.log(kb)
split_log bool split log to chat log and normal log
size_to_zip_chat bool size to zip the file chat.log(kb)

debug

Dict

config data type description
all bool debug mode switch
CBR bool debug mode switch
plugin bool debug mode switch

cqhttp

cqhttp document

Plugin

Plugin document

Packages

No packages published

Languages

  • Python 100.0%