a robot maid living in fediverse
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
falsycat 52ca99d9e6 add README 7 months ago
mods fix an issue that cannot find available slots on the calender 8 months ago
.gitignore implement new mod to make a reserve on e-license 8 months ago
Dockerfile add files for docker 8 months ago
README.md add README 7 months ago
docker-compose.yml add files for docker 8 months ago
main.py implement switching logger level and mods activation by config 8 months ago
requirements.txt add requirements.txt 8 months ago

README.md

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