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
dece
2af36ef429
ambience: add plugin
2021-12-12 17:30:14 +01:00
dece
2e60a74f49
unknown_command: log more, why is this broken
2021-12-02 12:22:43 +01:00
dece
73e3dedd43
unknown_command: fix WA parsing
...
Apparently the wrapper now uses Python bools instead of JS bools as
strings?
2021-12-02 11:57:06 +01:00
dece
1e9f10d549
journee_mondiale: do not crash if text not found
2021-12-02 11:38:20 +01:00
dece
6b9430aabb
bot: replace \r and \n before sending message
2021-12-02 11:37:05 +01:00
dece
56656dca98
misc_reactions: improve stutter reaction
2021-12-02 11:37:05 +01:00
dece
5f4af12a2f
journee_mondiale: do not crash if none was found
2021-11-23 14:14:30 +01:00
dece
3a756a7489
meteo_france: add plugin
...
Also remove the silly Python 3.7 requirement.
2021-09-17 12:44:25 +02:00
dece
6256975f90
bot: fix crash when trying to send a too long msg
2021-09-13 09:04:18 +02:00
dece
d47748a56a
capture: do not play while asleep…
2021-07-03 01:40:17 +02:00
dece
6ba697656d
misc_reactions: do not speak while asleep…
2021-07-03 01:36:18 +02:00
dece
77ff83be79
random: only pick a choice if there are at least 2
2021-06-29 17:52:59 +02:00
dece
47e24eebaa
capture: release thing on the next ping
2021-06-29 17:10:37 +02:00
dece
b7b6ca71be
wikipedia: catch all filthy exceptions
2021-06-11 11:31:45 +02:00
dece
5ca4a25b1f
bot: graceful exception catch
2021-06-11 11:28:22 +02:00
dece
19e5408ba2
youtube_parser: remove annoying logs
2021-06-11 11:27:11 +02:00
dece
cde8d8883d
youtube_parser: look for youtube URL in whole msg
2021-06-07 10:52:04 +02:00
dece
7ca8fa2ce4
youtube_parser: fix regex
2021-06-07 10:45:54 +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
9ae5545516
music: update scaruffi version
2021-01-27 15:18:56 +01:00
dece
c21a1bb7b1
unknown_command: fix message handling
2020-11-09 15:50:26 +01:00
dece
bd0482023b
insults: lower priority
2020-11-09 15:23:18 +01:00
dece
f71df26493
plugins: improve logging
2020-11-09 15:09:29 +01:00
dece
4a0d780b45
misc_reactions: better logging of loaded reactions
2020-11-08 16:48:13 +01:00
dece
943e62fc31
plugin: check handling conditions for simple msgs
2020-11-08 16:07:54 +01:00
dece
937c5ad203
plugins: fix on_pubmsg return values
2020-11-06 15:17:42 +01:00
dece
7f75b15207
misc_reactions: fix weights
2020-11-06 12:38:07 +01:00
dece
0558fb7bdf
unknown_command: fix priority
2020-11-06 12:24:51 +01:00
dece
16d0df2a44
unknown_question: fix usage of misc_reactions
2020-11-06 12:24:28 +01:00
dece
806ef07e0c
bot: add some logs
2020-11-06 12:24:16 +01:00
dece
5469b1cdf3
misc_reactions: move reactions load to on_welcome
2020-11-06 11:43:07 +01:00
dece
3fd0cecf63
unknown_command: add plugin (WolframAlpha)
2020-11-06 00:42:38 +01:00
dece
ce26eda989
unknown_question: add plugin
2020-11-06 00:42:23 +01:00
dece
250d05e2f7
misc_reactions: handle weights on reactions
2020-11-05 23:52:02 +01:00
dece
cc81956b58
caretaker: add plugin
2020-11-05 23:28:02 +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
7cbcd5eb85
music: add plugin using scaruffi library
2020-11-05 22:31:50 +01:00
dece
93eddad240
misc_reactions: add plugin
2020-11-04 23:15:47 +01:00
dece
d00bab19a6
insults: add plugin
2020-11-04 21:22:26 +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
7d0b1c5270
translate: add plugin
2020-11-04 17:23:11 +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
8773141406
youtube: add plugin
2020-11-03 17:41:48 +01:00
dece
f83f7fd011
opinion: add plugin
2020-11-02 18:43:54 +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
d85d5e054f
mood: add get_pissed method (unused)
2020-11-02 18:35:16 +01:00
dece
29258a13b4
sleep: allow multiple sleep/wakeup messages
2020-11-02 18:35:16 +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
df04de5794
mood: add calm down command
2020-11-02 16:39:57 +01:00
dece
a7b68a1596
sleep: add sleep/wakeup commands
2020-11-02 16:20:40 +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
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
721d99dba3
plugin: fix crash on parsing empty command
2020-10-31 18:12:08 +01:00
dece
b26c68ed67
notes: add command to deliver messages now
2020-10-12 19:26:06 +02:00
dece
263e9fd615
notes: limit number of notes for an user
2020-10-12 19:19:50 +02:00
dece
b87487deea
notes: fix delivery of multiples notes
2020-10-12 19:09:55 +02:00
dece
e51ca46bdb
notes: confirm note has been taken
2020-10-12 19:09:42 +02:00
dece
c2287f3cee
notes: deliver notes when an user joins
2020-10-12 15:45:31 +02:00
dece
3d918d1de8
wikipedia: fix localisation
2020-10-09 23:37:54 +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
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
828802fdbe
config: use a generic error message for issues
2020-10-09 21:59:44 +02:00
dece
93288d3599
plugin: catch errors when loading resource files
2020-10-09 21:59:21 +02:00
dece
7eca5da533
random: add plugin
2020-10-09 18:57:26 +02:00
dece
985ac401b4
beers: add plugin
2020-10-09 18:57:08 +02:00
dece
61703b484a
plugin: handle resource files in configs
2020-10-09 16:03:09 +02:00
dece
8b5721375f
wikipedia: add plugin
2020-10-09 15:11:53 +02:00
dece
daab101a66
plugin: minor fixes
2020-10-09 13:30:52 +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