Commit graph

39 commits

Author SHA1 Message Date
dece 7c030b771d WIP 2023-08-24 00:27:56 +02:00
dece c6326d5ee0 unknown_questions: correct return value 2023-01-30 18:21:34 +01:00
dece 086ec48823 utils: improve logging 2022-11-29 13:00:21 +01:00
dece 1bef65ea73 plugins: dependencies are not required
What, exactly, are you going to do?
2022-11-28 23:29:33 +01:00
dece f0676caa9a pipfile: integrate plugin deps 2022-11-25 18:33:00 +01:00
dece 22848c184f journee_mondiale: fix crash while parsing jmcom 2022-09-14 10:54:02 +02:00
dece 404f5bb673 playlist_of_the_day: post playlist on demand 2022-09-11 23:14:25 +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 4177730164 plugin: save storage on edits 2022-08-15 13:35:53 +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 8020de4edf plugin: answer to privmsg mostly like pubmsg 2022-07-07 19:06:59 +02:00
dece 9c78abd7f3 shrlok: prefix message length 2022-07-05 23:35:58 +02:00
dece 02399fe96d bot: show fatal error in logs 2022-05-19 14:12:20 +02:00
dece 3a85e5a23c bot: forgot to exit after received SIGTERM… 2022-05-16 12:02:29 +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 6b9430aabb bot: replace \r and \n before sending message 2021-12-02 11:37:05 +01:00
dece 6256975f90 bot: fix crash when trying to send a too long msg 2021-09-13 09:04:18 +02:00
dece 5ca4a25b1f bot: graceful exception catch 2021-06-11 11:28:22 +02:00
dece 806ef07e0c bot: add some logs 2020-11-06 12:24:16 +01:00
dece ed6c0e47dd bot: clean 2020-11-03 17:41:48 +01:00
dece 1e38901c11 youtube_parser: add plugin (depends on youtube) 2020-11-03 17:41:48 +01:00
dece 474224b64e bot: respect priority field of plugins 2020-11-03 17:41:48 +01:00
dece 4480a3b44a bot: stop plugin callbacks on the first success
When a plugin callbacks successfully handles an event it returns True,
and it now stops processing callbacks. It may be changed later to handle
multiple callbacks per event.
2020-11-02 18:35:16 +01:00
dece f346b9cb58 bot: add docs 2020-11-01 19:29:51 +01:00
dece 091d0ecd72 sleep: add plugin 2020-11-01 19:29:39 +01:00
dece ff88bfbb05 bot: remember joined channels 2020-11-01 19:23:42 +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 9ab1812938 bot: support plugins names with multiples words 2020-10-09 22:37:35 +02:00
dece dca201cbc1 bot: check if plugins have their dependencies met 2020-10-09 13:30:28 +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 3f6ec00ffe bot: handle "/me" actions 2020-10-09 10:44:21 +02:00
dece dee6096af2 plugins: add base system with horoscope as demo 2020-10-09 10:40:37 +02:00
dece c109a0116b edmond: init 2020-10-08 18:46:45 +02:00