3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-17 15:15:02 +00:00
Commit graph

364 commits

Author SHA1 Message Date
Dragory
0554e8db06 Mutes: add move_to_voice_channel option 2019-03-20 00:24:32 +02:00
Dragory
fb952bf725 Fix tag character limit 2019-03-16 18:54:09 +02:00
Dragory
c293c8c856 templateFormatter: add choose() as a shortcut for cases() with a preset index that picks from the cases randomly 2019-03-16 18:52:45 +02:00
Dragory
b8588d43b3 Add !tag eval for testing tag formatting before creating a tag 2019-03-16 18:37:42 +02:00
Dragory
ad007a36ef Tags: add tag() function to call other tags (with infinite loop protection 👀) 2019-03-16 18:16:59 +02:00
Dragory
21ba6b15cc Logs: fix double member IDs in voice channel logs 2019-03-16 17:54:26 +02:00
Dragory
af073904a7 templateFormatter: add cases() template function; Tags: add set/get tag functions to store/retrieve variables within tags 2019-03-16 17:54:05 +02:00
Dragory
23b083e3ae Tags: don't attempt to send empty messages 2019-03-16 17:32:32 +02:00
Dragory
d54a2c468c templateFormatter: support negative numbers for numeric arguments; add more base functions 2019-03-16 17:28:43 +02:00
Dragory
b58b4bd4e6 Tags: don't crash when using tags with invalid format, but log it to console instead 2019-03-16 17:00:57 +02:00
Dragory
f29f1ddb69 templateFormatter: return empty string for null/undefined variables; Tags: catch template syntax errors on tag creation; add mention() tag function 2019-03-16 16:59:01 +02:00
Dragory
657487ede7 Logs: fix crash in userMention/channelMention if the user/channel doesn't exist 2019-03-16 16:39:32 +02:00
Dragory
dd31486054 templateFormatter: fix empty string args not getting counted as arguments; add concat base template function 2019-03-16 16:39:07 +02:00
Dragory
97eb58aece Tags: show tag source when doing just !tag shortcut 2019-03-16 16:23:51 +02:00
Dragory
4af588948d Tags: switch from %arg syntax to regular template variable format with indexes, e.g. {args.0} 2019-03-16 16:18:28 +02:00
Dragory
69bcf9619e Logs: add permission for whether a user is pinged in logs or not (mainly to not ping mods); templateFormatter: fix error when following a plain value variable with a function variable 2019-03-16 16:10:30 +02:00
Dragory
693aee8214 ModActions: log sent DMs 2019-03-16 15:44:20 +02:00
Dragory
f8ae8a3003 Add templateFormatter; migrate from formatTemplateString to templateFormatter 2019-03-16 15:42:55 +02:00
Dragory
19605ea6af Add jest 2019-03-16 15:40:48 +02:00
Dragory
ff8ac31f7b Add user mention to message deletion log 2019-03-16 12:37:45 +02:00
Dragory
8c54385d9f Slowmode: don't act on messages with interrupted locks (e.g. censored messages); add !slowmode list 2019-03-16 12:32:25 +02:00
Dragory
2b1868a172 Censor: hold a lock for the evaluated message and interrupt said lock if the message is deleted 2019-03-16 12:31:37 +02:00
Dragory
20e6a6bdaa Logs: make default log message for censored messages clearer 2019-03-16 12:31:05 +02:00
Dragory
36bc023ddb Update Knub to 18.0.7 2019-03-16 12:30:40 +02:00
Dragory
0f21f5010a Improve mentions in default log messages. Add !vcmove logging. Don't attempt to !vcmove to the same channel the user is already in. 2019-03-16 11:45:30 +02:00
Dragory
6b5206bc11 Cleanup 2019-03-16 11:42:28 +02:00
Dragory
c129341e61 Slowmode: add support for native slowmode 2019-03-16 11:26:50 +02:00
Dragory
79fd79d754 Update to dev version of Eris 2019-03-16 11:24:41 +02:00
Dragory
d047928166 Fix error in !info when the API tells us a user has a role that doesn't exist 2019-03-09 18:16:42 +02:00
Dragory
8213a45a75 Self grantable role tweaks 2019-03-08 00:48:52 +02:00
Dragory
bf0813886e Include durations in mute and unmute case notes, clarify bot responses when updating an active mute 2019-03-07 22:35:33 +02:00
Dragory
1b8ba58330 ModActions: make the text that tells how the user was notified more descriptive 2019-03-07 22:09:14 +02:00
Dragory
b9897d0218 Update Knub to 18.0.6 2019-03-07 21:57:38 +02:00
Dragory
4e60be3ec1 BotControl: cleanup and type tweak 2019-03-07 20:50:53 +02:00
Dragory
748e8afd36 Update to Knub 18.0.5 2019-03-07 20:50:35 +02:00
Dragory
1c77269643 Add types for all plugin configs and permissions. Update code to work with Knub 18. 2019-03-04 21:44:04 +02:00
Dragory
056cb9809f Update Knub to 18.0.3 2019-03-04 21:13:58 +02:00
Dragory
be21d9d97c Update Knub to 18.0.2 2019-03-04 21:02:25 +02:00
Dragory
13c3751c70 Update Knub to 18.0.1 2019-03-04 20:05:55 +02:00
Dragory
6e105c58c0 Update Knub to 18.0.0. Update Typescript to 3.3. Some other small package upgrades. 2019-03-04 19:45:51 +02:00
Dragory
1f098593d4 ReactionRoles: some more rate limit tweaking 2019-02-24 01:06:40 +02:00
Dragory
4c7af0a7b5 ReactionRoles: slow down reaction removal to avoid rate limiting 2019-02-23 23:39:12 +02:00
Dragory
5903eab05c ModActions: !cases without id now returns 5 most recent cases created by you, or the mod specified with --mod 2019-02-23 22:40:43 +02:00
Dragory
17ccab6d49 BotControl: don't crash on global reaction role refresh errors 2019-02-23 22:24:05 +02:00
Dragory
d3e1ced0a6 BotControl: add several utility functions 2019-02-23 22:21:52 +02:00
Dragory
37fdae4027 ModActions: show if the user was messaged in bot response to actions 2019-02-23 22:05:54 +02:00
Dragory
bc5ceeb35f ModActions: join reason attachments with spaces, not newlines 2019-02-23 21:54:22 +02:00
Dragory
ba6c78f3d2 Cleanup 2019-02-23 21:53:41 +02:00
Dragory
58dffd03c1 ModActions: fixes and tweaks to !addcase 2019-02-23 21:52:36 +02:00
Dragory
5fac32b9a9 ModActions: support attachments in reasons 2019-02-23 21:47:55 +02:00