This repository has been archived on 2024-05-06. You can view files and clone it, but cannot push or open issues/pull-requests.
cirrus/bots/javapool
mio 326968d8c8 [javapool] Add readme
- [javapool] Add readme with build instructions
- Fix message parsing crash when spaces appear as first char of message
  body (thanks lucidiot)
2023-01-20 13:32:52 -05:00
..
.config-sample Initial commit 2023-01-20 13:31:02 -05:00
init-scripts [javapool] Add readme 2023-01-20 13:32:52 -05:00
bot.nim Initial commit 2023-01-20 13:31:02 -05:00
chara.nim Initial commit 2023-01-20 13:31:02 -05:00
readme.md [javapool] Add readme 2023-01-20 13:32:52 -05:00

readme.md

javapool

Install

  • Install Nim, then build the executable: nim c -d:release -d:ssl bot.nim

  • Copy the .config-sample/ directory and rename it to .config.

  • Edit .config/config.jsonto insert the server connection details, and.config/codes.json` to add or remove the service codes to which the bot will respond.

  • Run the bot: ./bot

  • To run the bot in the background, you can use a service unit manager like systemd (see examples of service files in init-scripts/).