Commit Graph

159 Commits (master)

Author SHA1 Message Date
Dan Elkouby cc98721120 Improve command support
- Support commands with the bot's username
- Make matching case-insensitive by default
- Merge cmd and admin_cmd for better maintainability
2020-08-02 15:32:44 +00:00
Dan Elkouby b97d1649a4 Port tl plugin to bots 2020-08-02 15:08:46 +00:00
Dan Elkouby dd49e13fbf Merge "plugins" plugin into _core 2020-08-02 14:47:19 +00:00
Dan Elkouby 3813ed60e8 Add stdbot, to showcase plugins that work from a bot account 2020-08-02 14:42:25 +00:00
Dan Elkouby 475c3aebfd Rework admin_cmd to work for actual bots 2020-08-02 14:35:18 +00:00
Dan Elkouby c4de997eb7 sed: Add provisions for GirlBot 2020-08-02 14:10:04 +00:00
Dan Elkouby 22c9942c2d sed: refactor to look more like current reegee code 2020-08-02 14:01:02 +00:00
Lonami 269a2ab1ae Add list of supported languages 2020-06-11 11:50:46 +02:00
Lonami defca3cb25 Split long TTS messages 2020-05-22 09:44:32 +02:00
Lonami c7d81b26df Nicer .tts behaviour with replies 2020-05-09 18:15:41 +02:00
Lonami c9fbc78cda Enhance translator with TTS API access 2020-05-09 18:13:39 +02:00
Lonami fc945c6912 Fix markdown parse failing if message was None 2020-04-29 13:58:26 +02:00
Lonami 3e782066da Fix translation plugin when emoji are involved 2020-04-29 13:53:22 +02:00
Lonami 9de2e8083b Add translation plugin 2020-04-26 13:03:48 +02:00
Lonami e44f0befe4 Stuff 2020-04-21 17:29:39 +00:00
Dan Elkouby d18b85a709 stdplugins/plugins: fix 2020-04-06 14:50:05 +00:00
Dan Elkouby bff5fd02dd sed: only allow outgoing commands in groups
This plugin was originally intended for using in PM only.
Leaving it wide open in groups might create unwanted spam in case
another bot is present but not blacklisted. It may also violate "no
bots" policies in some groups.
By only allowing self to use the plugin in groups, we can still use its
features when no bot is present, while avoiding the above problems.
2020-02-28 10:01:15 +00:00
Dan Elkouby 1988c5821d sed: blacklist ani (oubot) 2020-02-27 21:08:21 +00:00
Lonami Exo 9dedb14d7c Briefly document all plugins 2020-02-24 16:08:15 +01:00
Lonami c770af06d2 Add plugins plugin to show plugged-in plugins 2020-02-24 15:53:40 +01:00
Dan Elkouby cb28f86038 Use the walrus instead of a for loop 2020-02-13 17:09:45 +00:00
Dan Elkouby 5c0b30cb15 Update chain plugin to cache results 2020-01-11 23:54:59 +00:00
Dan Elkouby 59b2fc7412 Fix active_members when there are no messages 2019-12-31 22:58:06 +00:00
Dan Elkouby 0ca6f4eebd Add fix for audio files sending as voice notes 2019-11-04 18:56:35 +00:00
Lonami a6ea92b859 Revert accidental .active_members removal 2019-10-21 12:21:28 +02:00
Lonami 508bf638bd Make .members fancy 2019-10-21 12:18:32 +02:00
Dan Elkouby 0953826ee3 Add member list by last active 2019-10-09 20:08:52 +00:00
Lonami b6a67cf5f2 Fix .who in private and reoder admin title 2019-10-08 17:41:00 +02:00
Lonami 95d95701ea Show admin rank title if available 2019-10-07 16:53:10 +02:00
expectocode 01ae7b1cc6 Make \0 work as expected 2019-09-13 20:19:17 +02:00
Lonami 29a47c73bf Fix replies in dab brain fp 2019-09-12 17:59:11 +02:00
Lonami e1648fe3b1 Add facepalm stickers 2019-09-12 17:45:15 +02:00
Dan Elkouby 9fe2e80742 Count messages and sort by top posters 2019-09-07 08:08:07 +00:00
Dan Elkouby 40c398833d Add member list command 2019-09-07 07:31:43 +00:00
Lonami 332ecdcaea Escape display name in who 2019-09-03 21:50:39 +02:00
Lonami 69ccfd1207 Add license verbatim 2019-06-08 10:18:28 +02:00
Lonami 6d67ebad06 Dab *has* to be a standard plugin 2019-06-08 10:15:51 +02:00
Lonami 1dd6e63d6a Use HTML in who 2019-05-20 09:53:16 +02:00
kate fe6b878064 Fix info formatting in some cases (#8) 2019-05-19 23:10:01 +02:00
Lonami 168ee165b9 await the now async remove_plugin 2019-04-30 20:44:08 +02:00
Lonami 93cbb44459 Make unload_plugin async for reasons 2019-04-30 20:42:32 +02:00
Lonami febe3c4bac Be more careful when unloading plugin 2019-04-30 20:34:05 +02:00
Lonami c8b5179cb5 Allow plugins to define an unload function 2019-04-30 20:32:35 +02:00
Dan Elkouby c2197e5280 Disable markdown in sed 2019-04-27 10:22:36 +00:00
Dan Elkouby ca5619b9cc Add fpost plugin 2019-03-31 21:58:32 +00:00
Lonami b4be66162e Fix fixreply on different chats 2019-03-04 08:05:40 +01:00
Lonami Exo 59a0ebe9dc Add fixreply plugin 2019-02-27 13:20:24 +01:00
Dan Elkouby 88a8b4e0d3 Add a timeout for sed 2019-02-26 22:27:01 +00:00
Dan Elkouby a53b5fb147 Revert "s/regex/re/g"
This reverts commit dc2eefd581.
2019-02-26 21:10:21 +00:00
Lonami dc2eefd581 s/regex/re/g 2019-02-26 18:52:57 +01:00