a robot maid living in fediverse
Go to file
2023-03-04 20:48:34 +09:00
mods fix an issue that cannot find available slots on the calender 2023-02-12 11:31:00 +09:00
.gitignore implement new mod to make a reserve on e-license 2023-02-11 23:55:39 +09:00
docker-compose.yml add files for docker 2023-02-12 02:14:53 +09:00
Dockerfile add files for docker 2023-02-12 02:14:53 +09:00
main.py implement switching logger level and mods activation by config 2023-02-12 10:34:31 +09:00
README.md add README 2023-03-04 20:48:34 +09:00
requirements.txt add requirements.txt 2023-02-12 02:01:10 +09:00

maidbot

A bot program for fediverse.

CONFIGURATION

Create config.json like below.

{
  "logging" : "DEBUG",
  "instance": "falsy.cat",
  "username": "maidbot",
  "password": "helloworld",
  "master"  : "user ID of the master (not username)",
  "interval": "interval seconds of a single cycle",

  "mods": {
    "MODNAME": {
      "key": "param"
    }
  }
}

You can enable a mod by inserting new item to the mods.

MODS

I'll add new one when I need.

elicense

THIS MOD MAY CAUSE YOU A CANCELLALATION FEE BY UNEXPECTED BEHAVIOUR BUT I DON'T TAKE ANY RESPONSIBILITY

This mod can make a reservation through elicense.jp.

To enable this mod, insert the below object into the mods. Now you can say @maidbot watch 19900101 1 2 3 4 to make a reservation on one of periods from 1 to 4 on 1990/01/01.

"elicense": {
  "logging" : "INFO",
  "school"  : "school ID",
  "username": "username",
  "password": "password"
}

LICENSE

WTFPLv2