dece
c8c54f2e37
clean
1 year ago
dece
e601a77f72
plugin: allow plugins to skip write of storage v.
...
Plugins may want to write several values at once and skip the first
writes to only save the values at the last call.
2 years ago
dece
255cdcaac2
plugin: clean the runtime/storage API
2 years ago
dece
8d9ccd8dc9
wikipedia: fix crash
2 years ago
dece
4177730164
plugin: save storage on edits
2 years ago
dece
24bf8d02d0
add some typings to Bot, Plugin and more
2 years ago
dece
895b0dec47
style: run Black over the whole project
2 years ago
dece
8020de4edf
plugin: answer to privmsg mostly like pubmsg
2 years ago
dece
b6929c9453
plugins: stop using match as name
...
In Python 3.10 match will become a soft keyword. The program would still
work but syntax highlighting is getting weird.
2 years ago
dece
f9dca68fb0
plugin: allow plugins to write to other storages
2 years ago
dece
6ba697656d
misc_reactions: do not speak while asleep…
3 years ago
dece
93d59ff30b
capture_list: add plugin
3 years ago
dece
7f5ed39722
capture: add plugin for a little game
3 years ago
dece
f71df26493
plugins: improve logging
4 years ago
dece
943e62fc31
plugin: check handling conditions for simple msgs
4 years ago
dece
ce26eda989
unknown_question: add plugin
4 years ago
dece
bc8cf0e465
plugin: clean
4 years ago
dece
06dfb99635
plugin: handle question aliases
4 years ago
dece
93eddad240
misc_reactions: add plugin
4 years ago
dece
2b6ef89b9b
plugin: improve docs
4 years ago
dece
889b8c2b28
compliments: add plugin
4 years ago
dece
474224b64e
bot: respect priority field of plugins
4 years ago
dece
d21a6dd2be
plugin: auto-remove question marks
4 years ago
dece
3748312c41
plugin: handle aliases for commands
4 years ago
dece
127ad5c895
plugin: allow excluding some handling conditions
4 years ago
dece
f055ef76c4
plugin: add handling conditions for ques. & cmd.
...
The main purpose of this feature is to not answer questions when the bot
is not awake in the sleep plugin, but by making it a requirement purely
in the configuration we avoid making some plugins mandatory for the bot.
4 years ago
dece
f346b9cb58
bot: add docs
4 years ago
dece
721d99dba3
plugin: fix crash on parsing empty command
4 years ago
dece
c2287f3cee
notes: deliver notes when an user joins
4 years ago
dece
70cdcad604
notes: add plugin, only taking notes
4 years ago
dece
74343e2a24
plugin: add forgotten signal_failure method
4 years ago
dece
5ed9d2f3ce
bot: clean
4 years ago
dece
f4e884e9d7
journee_mondiale: add plugin
...
Add support for commands in multiple words by letting a plugin decide if
the message content should be not split between ident/content.
4 years ago
dece
93288d3599
plugin: catch errors when loading resource files
4 years ago
dece
61703b484a
plugin: handle resource files in configs
4 years ago
dece
daab101a66
plugin: minor fixes
4 years ago
dece
4bbe0d1c79
plugin: check required configs on init
4 years ago
dece
dc941c1985
plugin: add question-type plugins
4 years ago
dece
dee6096af2
plugins: add base system with horoscope as demo
4 years ago