Commit graph

136 commits

Author SHA1 Message Date
dece a7d3a18ea7 playlist_of_the_day: add plugin
Simply support adding lines from other plugins, the playlist can't be
posted yet.
2022-09-09 19:08:46 +02:00
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.
2022-09-09 19:05:56 +02:00
dece 255cdcaac2 plugin: clean the runtime/storage API 2022-09-09 17:54:18 +02:00
dece 8d9ccd8dc9 wikipedia: fix crash 2022-09-04 15:27:13 +02:00
dece e8a18c6a90 plus: add shortcut 2022-09-04 15:26:52 +02:00
dece 0f31807909 shrlok: update and clean plugin (and taxref) 2022-09-03 20:43:56 +02:00
dece 801471efb2 taxref: complete showing image gallery if possible 2022-09-02 18:36:41 +02:00
dece 33dab48706 plus: remove handler once it has been consumed 2022-09-02 11:33:14 +02:00
dece 95cc864474 wikipedia: add plus feature to "science" as well 2022-09-02 10:51:40 +02:00
dece 5caa857df7 plus: new plugin 2022-09-01 18:54:28 +02:00
dece bcdf7db830 doupsland: more items 2022-09-01 18:54:28 +02:00
dece dfed9d5be5 capture: add debug log because of issues 2022-09-01 18:54:28 +02:00
dece 1639ffb3ee doupsland: new plugin for kada 2022-09-01 18:54:28 +02:00
dece 0168089dd8 random: rename to random_choice to avoid conflict 2022-08-29 14:08:20 +02:00
dece 02ffd07d72 translate: fix unit tests 2022-08-15 14:26:31 +02:00
dece 5f7f5db0ff bot: show traceback in debug logs on unhandled exc 2022-08-15 14:26:09 +02:00
dece 31d7cc4284 translate: simplify the stupid ass mechanism
Now you either specify source/dest languages or nothing, way better.
2022-08-15 14:12:57 +02:00
dece 1e4184a18d bot: fix bad call 2022-08-15 14:11:14 +02:00
dece ae2f7069c7 youtube: remove debug log 2022-08-15 13:39:50 +02:00
dece 4177730164 plugin: save storage on edits 2022-08-15 13:35:53 +02:00
dece 448ee8477e move plugins' requirements file 2022-08-15 13:24:52 +02:00
dece 0978b43d2c youtube: add title and an response type icon 2022-08-15 13:21:24 +02:00
dece 3831987d9d bot: make mypy happy with the plugins folder (meh) 2022-08-15 13:20:44 +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 1b2303617b taxref: use shrlok to show images 2022-07-10 18:25:40 +02:00
dece 659dae9ce6 taxref: tell family name as well 2022-07-07 19:08:01 +02:00
dece 8020de4edf plugin: answer to privmsg mostly like pubmsg 2022-07-07 19:06:59 +02:00
dece a8b1b811c5 taxref: add function to get scientific name 2022-07-06 17:18:28 +02:00
dece b333b5d944 shrlok: fix bad kwarg 2022-07-06 17:18:01 +02:00
dece 9c78abd7f3 shrlok: prefix message length 2022-07-05 23:35:58 +02:00
dece 4d7be3d9d8 shrlok: init plugin 2022-07-05 22:06:44 +02:00
dece 3be1fddd93 taxref: do not show ambig. reply needlessly
esp. if there is a matching species with the exact same name…
2022-06-16 16:59:58 +02:00
dece 2ecec9eeb2 capture_give: fix crashing typo 2022-06-16 12:07:23 +02:00
dece 0d49fb1457 beers: offer a beer to someone in particular 2022-06-08 17:18:51 +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 edbc35aa19 journee_mondiale: ditch the site for a static list 2022-06-07 18:11:41 +02:00
dece 7a2e011272 taxref: show a random photo if any are available 2022-05-19 14:34:41 +02:00
dece 85ce2902a7 taxref: new plugin! 2022-05-19 14:12:33 +02:00
dece 02399fe96d bot: show fatal error in logs 2022-05-19 14:12:20 +02:00
dece dd3ebcaa35 capture_give: add new plugin 2022-05-16 12:09:12 +02:00
dece f9dca68fb0 plugin: allow plugins to write to other storages 2022-05-16 12:02:45 +02:00
dece 3a85e5a23c bot: forgot to exit after received SIGTERM… 2022-05-16 12:02:29 +02:00
dece 6841b01e8d youtube_parser: fix reading titles while sleeping 2022-05-16 11:09:55 +02:00
dece bec9ff4d76 bot: drastically catch exceptions
For whatever reason systemd stop signals are not caught anymore by the
"except KeyboardInterrupt", so the storage file is lost on what should
be a graceful shutdown.
2022-04-26 21:33:43 +02:00
dece 0a304f9b6c youtube_parser: support Invidious URLs 2022-03-06 17:26:48 +01:00
dece ed26c70095 misc_reactions: add nudge 2022-03-06 17:22:54 +01:00
dece dab1abf4c6 ambience: use zip_longest to not cut the reply 2021-12-12 18:41:39 +01:00
dece 9eec6795c6 ambience: apply effect to whole reply, not a chunk 2021-12-12 18:38:19 +01:00
dece f97e2c51e4 ambience: use all words from content as target 2021-12-12 18:33:31 +01:00