MiraiGo-DD

command module
v0.0.0-...-ebf75f1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2022 License: AGPL-3.0, AGPL-3.0-or-later Imports: 12 Imported by: 0

README

MiraiGo-DD

A DD (Japanese: 誰でも大好き) QQ Bot created based on MiraiGo and MiraiGo-Template.

Go Report Card

Modules

  • logging: Copy from MiraiGo-Template. Provide basic logging for multiple events.
  • auto_reconnect: Handle Disconnect event and try to reconnect.
  • bili: A bilibili event broadcaster. It utilizes bilibili public API (ref bilibili-API-collect) to periodically poll subscribed user info and broadcast message if any event triggered by change of user status (e.g. start live streaming).
  • daredemo_suki: Keyword-based random-memes sender.
  • shell: Command-based interface for the bot. Configuring and querying bot status on the fly is under development.

Configurations

Most of the config files are pretty much self-explained. You can always acquire an example of them from xxx.example.yaml.

  • application.yaml: Main config file for the app. Provide your account and password here as well as module-level configs for other modules.
  • bili.yaml: Config file for bili module.
  • dd.yaml: Config file for daredemo_suki module.
  • shell.yaml: Config file for shell module.
  • device.json: Config file for the simulated device info of the bot. If not provided, the app will randomly generate one at start. To avoid issue, it's recommended to use the same device.json among developing and production environments.

Issues & PR

Feel free to share you thoughts in Issues, and PR are highly welcomed.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
modules

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL