Changelog
- enhanced logging
- fixed: exclude sender in (random.*) (#128)
- added: (param) filter for custom commands (#129)
- Usage:
- Command !test with response: Something (param) something
- Expected behavior:
- !test
- bot will not respond (no param is given)
- !test dark side
- Bot: Something dark side something
- Usage:
- added: keywords, commands, notices can be edited in webpanel (#125)
- added: fully translatable webpanel (#122)
- added: whisper error if user have low permissions for command (#87)
- added: blacklisting (#9) and whitelisting (#10)
- added: soundboard duration progress bar when sound is played
- added: search dropdown suggestions for games
- added: dashboard viewers paging and username filtering
- added: message API filter for API calls (#138) - HOW TO USE BELOW
- changed way response time is calculated - will properly count when bot get message and finish parsing
- more optimizations of followers
- minor fixes (#130, #132)
How to use API filter
Note: usable in notices, keywords, custom commands - everything with response
How to use in response:
(api|http://your.url.goes.here) Something something (api.fromApiJSON)
Example setting for !api custom command with json response:
Set response to:
(api|https://jsonplaceholder.typicode.com/posts/5) UserId: (api.userId), id: (api.id), title: (api.title), body: (api.body)
Twitch chat:
sogehige: !api
bot: UserId: 1, id: 5, title: nesciunt quas odio, body: repudiandae veniam quaerat sunt sedalias aut fugiat sit autem sed estvoluptatem omnis possimus esse voluptatibus quisest aut tenetur dolor neque
Example setting for !api custom command with string response:
Set response to:
(api|https://api.kyroskoh.club/dota-api/party-mmr?id=58241935) (sender), (api._response)
Twitch chat:
sogehige: !api
bot: sogehige, [SO,HI]GE's Party MMR: 2072