Commit graph

526 commits

Author SHA1 Message Date
Dragory
503f1ff170 Use command aliases/overloads where applicable 2019-04-13 02:23:45 +03:00
Dragory
ad10a79b6c Add !s as an alias for !search 2019-04-13 02:23:22 +03:00
Dragory
d79af59863 Update to Knub 19.2.0 2019-04-13 02:22:45 +03:00
Dragory
d77105c831 Slowmode: support native slowmode up to 6h 2019-04-13 01:56:11 +03:00
Dragory
50f5792bc5 Update to Knub 19.1.1 and update plugins accordingly 2019-04-13 01:44:18 +03:00
Dragory
18e321f5bb Fix type error 2019-04-05 20:06:29 +03:00
Dragory
8e2808d42c Fix quotation marks in !mute and !unmute arguments 2019-04-05 20:05:37 +03:00
Dragory
6e1ef12bce Update Knub to 18.2.0 2019-04-05 19:59:01 +03:00
Dragory
bab82559dc Update Knub to 18.1.0, js-yaml to 3.13.1 2019-04-05 19:31:21 +03:00
Dragory
b9b4e2e9ed Starboard: use locks for checking reactions to avoid race conditions 2019-03-31 22:35:54 +03:00
Dragory
dad7717688 ModActions: allow 'e' as an alias for 'expand' in !cases 2019-03-20 00:35:46 +02:00
Dragory
cb7904ef81 Utility: add voice information to !info, tweak embed styles a bit 2019-03-20 00:34:41 +02:00
Dragory
9202a717e3 Mutes: add move_to_voice_channel option 2019-03-20 00:24:32 +02:00
Dragory
39b7b35cbf Fix tag character limit 2019-03-16 18:54:09 +02:00
Dragory
15408b04d7 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
656fb1baf3 Add !tag eval for testing tag formatting before creating a tag 2019-03-16 18:37:42 +02:00
Dragory
e61fe722c5 Tags: add tag() function to call other tags (with infinite loop protection 👀) 2019-03-16 18:16:59 +02:00
Dragory
45b06ece20 Logs: fix double member IDs in voice channel logs 2019-03-16 17:54:26 +02:00
Dragory
96b2d33423 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
a8d274c054 Tags: don't attempt to send empty messages 2019-03-16 17:32:32 +02:00
Dragory
3491f3e0a2 templateFormatter: support negative numbers for numeric arguments; add more base functions 2019-03-16 17:28:43 +02:00
Dragory
8711f86193 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
f27da2c56f 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
db5d93b5c2 Logs: fix crash in userMention/channelMention if the user/channel doesn't exist 2019-03-16 16:39:32 +02:00
Dragory
8f898ed972 templateFormatter: fix empty string args not getting counted as arguments; add concat base template function 2019-03-16 16:39:07 +02:00
Dragory
f7f08ffd3b Tags: show tag source when doing just !tag shortcut 2019-03-16 16:23:51 +02:00
Dragory
d914e8a717 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
11558df665 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
d5a902bcdd ModActions: log sent DMs 2019-03-16 15:44:20 +02:00
Dragory
ba3af1cb63 Add templateFormatter; migrate from formatTemplateString to templateFormatter 2019-03-16 15:42:55 +02:00
Dragory
5a29068bf1 Add jest 2019-03-16 15:40:48 +02:00
Dragory
ea3fde49a6 Add user mention to message deletion log 2019-03-16 12:37:45 +02:00
Dragory
0be819462b 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
e1eb110ecd 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
515c91d2c2 Logs: make default log message for censored messages clearer 2019-03-16 12:31:05 +02:00
Dragory
ff11ee4c40 Update Knub to 18.0.7 2019-03-16 12:30:40 +02:00
Dragory
e755784483 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
cdd977c131 Cleanup 2019-03-16 11:42:28 +02:00
Dragory
cabccf5bd3 Slowmode: add support for native slowmode 2019-03-16 11:26:50 +02:00
Dragory
be44634a00 Update to dev version of Eris 2019-03-16 11:24:41 +02:00
Dragory
7e9de889d4 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
4b8e771d26 Self grantable role tweaks 2019-03-08 00:48:52 +02:00
Dragory
374e79e2dc 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
18f16f6bad ModActions: make the text that tells how the user was notified more descriptive 2019-03-07 22:09:14 +02:00
Dragory
a9cb6fe5d3 Update Knub to 18.0.6 2019-03-07 21:57:38 +02:00
Dragory
f4a11b2105 BotControl: cleanup and type tweak 2019-03-07 20:50:53 +02:00
Dragory
f9504d120a Update to Knub 18.0.5 2019-03-07 20:50:35 +02:00
Dragory
b7b42705f9 Add types for all plugin configs and permissions. Update code to work with Knub 18. 2019-03-04 21:44:04 +02:00
Dragory
c96e98fcef Update Knub to 18.0.3 2019-03-04 21:13:58 +02:00
Dragory
e5b2f2b378 Update Knub to 18.0.2 2019-03-04 21:02:25 +02:00