~fkfd/mastobot

Add example: OEIS Bot
292742db — Frederick Yin 1 year, 10 months ago
Interface enhancements

- Provide plaintext content in `Status`
- More sophisticated case sensitivity
341f1933 — Frederick Yin 1 year, 10 months ago
Remove debug artifact

The access token involved has been revoked.
fe4cfaa3 — Frederick Yin 1 year, 10 months ago ws
Meta update

- README
- add dep: websockets
- version bump
1c7540b8 — Frederick Yin 1 year, 10 months ago
Support WebSockets

because Pleroma doesn't support server-sent events over HTTP
Update meta info

- Add HACKING.md
- Update README
    - Explains the existence of Mastobot
    - Includes some abbreviations in the terminology section
ebfa515e — Frederick Yin 1 year, 11 months ago
Add regex example
294f4e80 — Frederick Yin 1 year, 11 months ago
Implement regex validation

plus a few bugfixes
ec563163 — Frederick Yin 1 year, 11 months ago
Update callback invocation argument in comments
71185eb5 — Frederick Yin 1 year, 11 months ago
Update README

- Advanced usage snippet
- Use cases
- Terminology
b7d2bd19 — Frederick Yin 1 year, 11 months ago
Massive improvements

- Bot can respond with a boost and/or favourite
- Triggers can be set to case (in)sensitive
- Reply initialization now friendlier
- Add and document tests
66c4e46d — Frederick Yin 1 year, 11 months ago
Update README
48a4893b — Frederick Yin 1 year, 11 months ago
Test trigger with callable
cc302750 — Frederick Yin 1 year, 11 months ago
More friendly bot developer interface

- Expose NamedTuples to botdevs instead of dicts
- Updated arguments passed to decorated callback
296f5afe — Frederick Yin 1 year, 11 months ago
Rewrite trigger checking

- merged update and notif trigger checking logic
- remove mention text "@bot" in status content before passing on to
  trig.test(content)
- send reply only when trig.invoke(obj) is not empty
- added missing dependency
- instance and access token are set in environ variables when testing
e68f35c4 — Frederick Yin 1 year, 11 months ago
Add 0BSD license
6f5fb8c8 — Frederick Yin 1 year, 11 months ago
Initial commit

Decorators:

- on_mention
- on_home_update