Commit graph

36 commits

Author SHA1 Message Date
dece ae21c1ff8b wikipedia: fix crash 2022-09-04 15:27:13 +02:00
dece 4177730164 plugin: save storage on edits 2022-08-15 13:35:53 +02:00
dece 24bf8d02d0 add some typings to Bot, Plugin and more 2022-08-15 13:19:48 +02:00
dece 895b0dec47 style: run Black over the whole project 2022-08-09 23:48:14 +02:00
dece 8020de4edf plugin: answer to privmsg mostly like pubmsg 2022-07-07 19:06:59 +02:00
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.
2022-06-08 17:12:33 +02:00
dece f9dca68fb0 plugin: allow plugins to write to other storages 2022-05-16 12:02:45 +02:00
dece 6ba697656d misc_reactions: do not speak while asleep… 2021-07-03 01:36:18 +02:00
dece 93d59ff30b capture_list: add plugin 2021-06-06 19:02:19 +02:00
dece 7f5ed39722 capture: add plugin for a little game 2021-06-06 18:53:52 +02:00
dece f71df26493 plugins: improve logging 2020-11-09 15:09:29 +01:00
dece 943e62fc31 plugin: check handling conditions for simple msgs 2020-11-08 16:07:54 +01:00
dece ce26eda989 unknown_question: add plugin 2020-11-06 00:42:23 +01:00
dece bc8cf0e465 plugin: clean 2020-11-05 22:45:33 +01:00
dece 06dfb99635 plugin: handle question aliases 2020-11-05 22:45:21 +01:00
dece 93eddad240 misc_reactions: add plugin 2020-11-04 23:15:47 +01:00
dece 2b6ef89b9b plugin: improve docs 2020-11-04 19:09:32 +01:00
dece 889b8c2b28 compliments: add plugin 2020-11-04 19:09:18 +01:00
dece 474224b64e bot: respect priority field of plugins 2020-11-03 17:41:48 +01:00
dece d21a6dd2be plugin: auto-remove question marks 2020-11-02 18:35:16 +01:00
dece 3748312c41 plugin: handle aliases for commands 2020-11-02 18:35:16 +01:00
dece 127ad5c895 plugin: allow excluding some handling conditions 2020-11-02 13:24:23 +01:00
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.
2020-11-02 12:57:15 +01:00
dece f346b9cb58 bot: add docs 2020-11-01 19:29:51 +01:00
dece 721d99dba3 plugin: fix crash on parsing empty command 2020-10-31 18:12:08 +01:00
dece c2287f3cee notes: deliver notes when an user joins 2020-10-12 15:45:31 +02:00
dece 70cdcad604 notes: add plugin, only taking notes 2020-10-09 23:37:35 +02:00
dece 74343e2a24 plugin: add forgotten signal_failure method 2020-10-09 22:37:35 +02:00
dece 5ed9d2f3ce bot: clean 2020-10-09 22:37:35 +02:00
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.
2020-10-09 22:37:34 +02:00
dece 93288d3599 plugin: catch errors when loading resource files 2020-10-09 21:59:21 +02:00
dece 61703b484a plugin: handle resource files in configs 2020-10-09 16:03:09 +02:00
dece daab101a66 plugin: minor fixes 2020-10-09 13:30:52 +02:00
dece 4bbe0d1c79 plugin: check required configs on init 2020-10-09 12:51:53 +02:00
dece dc941c1985 plugin: add question-type plugins 2020-10-09 12:21:13 +02:00
dece dee6096af2 plugins: add base system with horoscope as demo 2020-10-09 10:40:37 +02:00