Commit graph

322 commits

Author SHA1 Message Date
Dragory
ffafc765d8 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
7ced26cd19 BotControl: don't crash on global reaction role refresh errors 2019-02-23 22:24:05 +02:00
Dragory
9bab943f45 BotControl: add several utility functions 2019-02-23 22:21:52 +02:00
Dragory
152b86e587 ModActions: show if the user was messaged in bot response to actions 2019-02-23 22:05:54 +02:00
Dragory
09b3775247 ModActions: join reason attachments with spaces, not newlines 2019-02-23 21:54:22 +02:00
Dragory
f7274225f9 Cleanup 2019-02-23 21:53:41 +02:00
Dragory
31331f67c5 ModActions: fixes and tweaks to !addcase 2019-02-23 21:52:36 +02:00
Dragory
23f68e734e ModActions: support attachments in reasons 2019-02-23 21:47:55 +02:00
Dragory
147dcc973d ModActions: add !cases cmd without user, tweak old !cases response message 2019-02-23 21:33:57 +02:00
Dragory
0c974e1d16 ModActions: remove aliases showcase, usercases 2019-02-23 21:32:38 +02:00
Dragory
b462868c32 BotControl: add cmd to refresh reaction roles globally 2019-02-23 21:23:28 +02:00
Dragory
ddcc56d0ba ReactionRoles: new usage model, optimization
old: click reaction to toggle your role
new: click reaction to add role, click X reaction to clear roles

Multiple role changes in quick succession are now also batched into
a single member.edit() call.
2019-02-23 21:21:05 +02:00
Dragory
56a1f51f56 plugins.Logs: log multiple role changes in one properly 2019-02-23 21:20:35 +02:00
Dragory
76b9cb6b0c Queue: allow overriding queue timeout 2019-02-23 21:19:46 +02:00
Dragory
6f95b7d006 Update Knub to 17.2.0 2019-02-23 21:19:31 +02:00
Dragory
b52d1793bf Merge branch 'master' of github.com:Dragory/ZeppelinBot 2019-02-23 20:07:13 +02:00
Dragory
bb781311d4 Remove WIP plugin that was accidentally committed 2019-02-23 20:06:58 +02:00
Miikka
81e6465cdf
Update ModActions.ts 2019-02-20 17:04:42 +02:00
Dragory
6491c48289 Add reminders 2019-02-20 00:01:14 +02:00
Dragory
b5c55f9510 SelfGrantableRoles: improve role name and alias parsing by accepting commas as delimiters as well 2019-02-19 00:22:37 +02:00
Dragory
457d57fb8c Add SelfGrantableRoles 2019-02-19 00:02:46 +02:00
Dragory
8cb382979b Update Knub to 17.1.0 2019-02-19 00:01:20 +02:00
Dragory
015004df6a Utility: remove 'Large' from !server command, tweak the layout a bit 2019-02-18 02:07:54 +02:00
Dragory
d6bbf7d46c ReactionRoles: add support for auto-refresh; don't allow refreshing the same message's reactions multiple times at once 2019-02-18 01:58:21 +02:00
Dragory
166680e718 Utility: fix !search swallowing numbers at the end; fix !search results sorting incorrectly 2019-02-17 23:15:24 +02:00
Dragory
6cde008f36 Utility: add more info to !server, prettify the embed a bit 2019-02-17 23:05:20 +02:00
Dragory
244a523da1 Utility: pad IDs in !roles to take the same space 2019-02-17 22:51:04 +02:00
Dragory
151971bb84 Utility: add more options to !search, make the results list prettier 2019-02-17 22:49:14 +02:00
Dragory
59204fbf51 TS: use esnext as target/lib 2019-02-17 22:48:41 +02:00
Dragory
207f5b3b95 Spam: max_voice_move -> max_voice_moves, add to default mod override as well 2019-02-17 17:23:10 +02:00
Dragory
30db4d58b4 spam: add support for non-message spam; add max_voice_move spam detection 2019-02-17 17:09:49 +02:00
Dragory
4f5eb0689d Utility: add !vcmove command 2019-02-17 16:45:29 +02:00
Dragory
30f34747d4 Post: add --enable-mentions flag to !post 2019-02-17 16:02:16 +02:00
Dragory
6cfadb98fd Cleanup 2019-02-17 16:01:38 +02:00
Dragory
82f73a8f51 utils: fix role mention regex 2019-02-17 16:01:04 +02:00
Dragory
2e13495d77 Utility: add --counts flag to !roles 2019-02-17 15:42:52 +02:00
Dragory
625120e07e Fix emoji index in reaction roles 2019-02-17 15:26:44 +02:00
Dragory
fa759d1f46 Allow using !update without a case number. Will update the mod's latest case instead. 2019-02-17 15:23:40 +02:00
Dragory
ed3760313f Update to Knub 17.0.1, remove all d.nonBlocking() calls 2019-02-17 15:19:55 +02:00
Dragory
4b6437c4ae ReactionRoles: increase reaction removal delay to avoid confusion 2019-02-16 16:43:59 +02:00
Dragory
33f50a460b ReactionRoles: don't add/remove roles multiple times if the user spams the reaction 2019-02-16 16:03:20 +02:00
Dragory
22c9908fe0 Censor: add invite setting for group dm invites, fix error when filtering group dm invites 2019-02-16 15:54:39 +02:00
Dragory
d694d9f129 ReactionRoles: add a small delay before removing the reaction 2019-02-16 14:40:44 +02:00
Dragory
6358022442 Make more events non-blocking 2019-02-16 14:13:46 +02:00
Dragory
44c731564b censor: make regex matching case-insensitive 2019-02-16 14:13:19 +02:00
Dragory
8ddf53345d ReactionRoles: queue reaction removals 2019-02-16 12:01:31 +02:00
Dragory
add5367232 ReactionRoles: use reactionAdd as a toggle instead, and remove reactions as soon as the role is granted 2019-02-16 11:58:11 +02:00
Dragory
6cc6528599 Logs: add support for batching multiple log messages into 1 2019-02-16 11:47:15 +02:00
Dragory
aec251aa34 Ignore low prio errors in ReactionRoles 2019-02-16 11:29:20 +02:00
Dragory
69fc5f5df5 utility: sort !roles by name 2019-02-15 05:20:38 +02:00