Commit graph

  • 9202a717e3 Mutes: add move_to_voice_channel option Dragory 2019-03-20 00:24:32 +02:00
  • 39b7b35cbf Fix tag character limit Dragory 2019-03-16 18:54:09 +02:00
  • 15408b04d7 templateFormatter: add choose() as a shortcut for cases() with a preset index that picks from the cases randomly Dragory 2019-03-16 18:52:45 +02:00
  • 656fb1baf3 Add !tag eval for testing tag formatting before creating a tag Dragory 2019-03-16 18:37:42 +02:00
  • e61fe722c5 Tags: add tag() function to call other tags (with infinite loop protection 👀) Dragory 2019-03-16 18:16:59 +02:00
  • 45b06ece20 Logs: fix double member IDs in voice channel logs Dragory 2019-03-16 17:54:26 +02:00
  • 96b2d33423 templateFormatter: add cases() template function; Tags: add set/get tag functions to store/retrieve variables within tags Dragory 2019-03-16 17:54:05 +02:00
  • a8d274c054 Tags: don't attempt to send empty messages Dragory 2019-03-16 17:32:32 +02:00
  • 3491f3e0a2 templateFormatter: support negative numbers for numeric arguments; add more base functions Dragory 2019-03-16 17:28:43 +02:00
  • 8711f86193 Tags: don't crash when using tags with invalid format, but log it to console instead Dragory 2019-03-16 17:00:57 +02:00
  • f27da2c56f templateFormatter: return empty string for null/undefined variables; Tags: catch template syntax errors on tag creation; add mention() tag function Dragory 2019-03-16 16:59:01 +02:00
  • db5d93b5c2 Logs: fix crash in userMention/channelMention if the user/channel doesn't exist Dragory 2019-03-16 16:39:32 +02:00
  • 8f898ed972 templateFormatter: fix empty string args not getting counted as arguments; add concat base template function Dragory 2019-03-16 16:39:07 +02:00
  • f7f08ffd3b Tags: show tag source when doing just !tag shortcut Dragory 2019-03-16 16:23:51 +02:00
  • d914e8a717 Tags: switch from %arg syntax to regular template variable format with indexes, e.g. {args.0} Dragory 2019-03-16 16:18:28 +02:00
  • 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 Dragory 2019-03-16 16:10:30 +02:00
  • d5a902bcdd ModActions: log sent DMs Dragory 2019-03-16 15:44:20 +02:00
  • ba3af1cb63 Add templateFormatter; migrate from formatTemplateString to templateFormatter Dragory 2019-03-16 15:42:55 +02:00
  • 5a29068bf1 Add jest Dragory 2019-03-16 15:40:48 +02:00
  • ea3fde49a6 Add user mention to message deletion log Dragory 2019-03-16 12:37:45 +02:00
  • 0be819462b Slowmode: don't act on messages with interrupted locks (e.g. censored messages); add !slowmode list Dragory 2019-03-16 12:32:25 +02:00
  • e1eb110ecd Censor: hold a lock for the evaluated message and interrupt said lock if the message is deleted Dragory 2019-03-16 12:31:37 +02:00
  • 515c91d2c2 Logs: make default log message for censored messages clearer Dragory 2019-03-16 12:31:05 +02:00
  • ff11ee4c40 Update Knub to 18.0.7 Dragory 2019-03-16 12:30:40 +02:00
  • e755784483 Improve mentions in default log messages. Add !vcmove logging. Don't attempt to !vcmove to the same channel the user is already in. Dragory 2019-03-16 11:45:30 +02:00
  • cdd977c131 Cleanup Dragory 2019-03-16 11:42:28 +02:00
  • cabccf5bd3 Slowmode: add support for native slowmode Dragory 2019-03-16 11:26:50 +02:00
  • be44634a00 Update to dev version of Eris Dragory 2019-03-16 11:24:41 +02:00
  • 7e9de889d4 Fix error in !info when the API tells us a user has a role that doesn't exist Dragory 2019-03-09 18:16:42 +02:00
  • 4b8e771d26 Self grantable role tweaks Dragory 2019-03-08 00:48:52 +02:00
  • 374e79e2dc Include durations in mute and unmute case notes, clarify bot responses when updating an active mute Dragory 2019-03-07 22:35:33 +02:00
  • 18f16f6bad ModActions: make the text that tells how the user was notified more descriptive Dragory 2019-03-07 22:09:14 +02:00
  • a9cb6fe5d3 Update Knub to 18.0.6 Dragory 2019-03-07 21:57:38 +02:00
  • f4a11b2105 BotControl: cleanup and type tweak Dragory 2019-03-07 20:50:53 +02:00
  • f9504d120a Update to Knub 18.0.5 Dragory 2019-03-07 20:50:35 +02:00
  • b7b42705f9 Add types for all plugin configs and permissions. Update code to work with Knub 18. Dragory 2019-03-04 21:44:04 +02:00
  • c96e98fcef Update Knub to 18.0.3 Dragory 2019-03-04 21:13:58 +02:00
  • e5b2f2b378 Update Knub to 18.0.2 Dragory 2019-03-04 21:02:25 +02:00
  • afd3c95ed5 Update Knub to 18.0.1 Dragory 2019-03-04 20:05:55 +02:00
  • 015e25beb9 Update Knub to 18.0.0. Update Typescript to 3.3. Some other small package upgrades. Dragory 2019-03-04 19:45:51 +02:00
  • af060cbb72 ReactionRoles: some more rate limit tweaking Dragory 2019-02-24 01:06:40 +02:00
  • cb76c47bf4 ReactionRoles: slow down reaction removal to avoid rate limiting Dragory 2019-02-23 23:39:12 +02:00
  • ffafc765d8 ModActions: !cases without id now returns 5 most recent cases created by you, or the mod specified with --mod Dragory 2019-02-23 22:40:43 +02:00
  • 7ced26cd19 BotControl: don't crash on global reaction role refresh errors Dragory 2019-02-23 22:24:05 +02:00
  • 9bab943f45 BotControl: add several utility functions Dragory 2019-02-23 22:21:52 +02:00
  • 152b86e587 ModActions: show if the user was messaged in bot response to actions Dragory 2019-02-23 22:05:54 +02:00
  • 09b3775247 ModActions: join reason attachments with spaces, not newlines Dragory 2019-02-23 21:54:22 +02:00
  • f7274225f9 Cleanup Dragory 2019-02-23 21:53:41 +02:00
  • 31331f67c5 ModActions: fixes and tweaks to !addcase Dragory 2019-02-23 21:52:36 +02:00
  • 23f68e734e ModActions: support attachments in reasons Dragory 2019-02-23 21:47:55 +02:00
  • 147dcc973d ModActions: add !cases cmd without user, tweak old !cases response message Dragory 2019-02-23 21:33:57 +02:00
  • 0c974e1d16 ModActions: remove aliases showcase, usercases Dragory 2019-02-23 21:32:38 +02:00
  • b462868c32 BotControl: add cmd to refresh reaction roles globally Dragory 2019-02-23 21:23:28 +02:00
  • ddcc56d0ba ReactionRoles: new usage model, optimization Dragory 2019-02-23 21:21:05 +02:00
  • 56a1f51f56 plugins.Logs: log multiple role changes in one properly Dragory 2019-02-23 21:20:35 +02:00
  • 76b9cb6b0c Queue: allow overriding queue timeout Dragory 2019-02-23 21:19:46 +02:00
  • 6f95b7d006 Update Knub to 17.2.0 Dragory 2019-02-23 21:19:31 +02:00
  • b52d1793bf Merge branch 'master' of github.com:Dragory/ZeppelinBot Dragory 2019-02-23 20:07:13 +02:00
  • bb781311d4 Remove WIP plugin that was accidentally committed Dragory 2019-02-23 20:06:58 +02:00
  • 81e6465cdf
    Update ModActions.ts Miikka 2019-02-20 17:04:42 +02:00
  • 6491c48289 Add reminders Dragory 2019-02-20 00:01:14 +02:00
  • b5c55f9510 SelfGrantableRoles: improve role name and alias parsing by accepting commas as delimiters as well Dragory 2019-02-19 00:22:37 +02:00
  • 457d57fb8c Add SelfGrantableRoles Dragory 2019-02-19 00:02:46 +02:00
  • 8cb382979b Update Knub to 17.1.0 Dragory 2019-02-19 00:01:20 +02:00
  • 015004df6a Utility: remove 'Large' from !server command, tweak the layout a bit Dragory 2019-02-18 02:07:54 +02:00
  • d6bbf7d46c ReactionRoles: add support for auto-refresh; don't allow refreshing the same message's reactions multiple times at once Dragory 2019-02-18 01:58:21 +02:00
  • 166680e718 Utility: fix !search swallowing numbers at the end; fix !search results sorting incorrectly Dragory 2019-02-17 23:15:24 +02:00
  • 6cde008f36 Utility: add more info to !server, prettify the embed a bit Dragory 2019-02-17 23:05:20 +02:00
  • 244a523da1 Utility: pad IDs in !roles to take the same space Dragory 2019-02-17 22:51:04 +02:00
  • 151971bb84 Utility: add more options to !search, make the results list prettier Dragory 2019-02-17 22:49:14 +02:00
  • 59204fbf51 TS: use esnext as target/lib Dragory 2019-02-17 22:48:41 +02:00
  • 207f5b3b95 Spam: max_voice_move -> max_voice_moves, add to default mod override as well Dragory 2019-02-17 17:23:10 +02:00
  • 30db4d58b4 spam: add support for non-message spam; add max_voice_move spam detection Dragory 2019-02-17 17:09:49 +02:00
  • 4f5eb0689d Utility: add !vcmove command Dragory 2019-02-17 16:45:29 +02:00
  • 30f34747d4 Post: add --enable-mentions flag to !post Dragory 2019-02-17 16:02:16 +02:00
  • 6cfadb98fd Cleanup Dragory 2019-02-17 16:01:38 +02:00
  • 82f73a8f51 utils: fix role mention regex Dragory 2019-02-17 16:01:04 +02:00
  • 2e13495d77 Utility: add --counts flag to !roles Dragory 2019-02-17 15:42:52 +02:00
  • 625120e07e Fix emoji index in reaction roles Dragory 2019-02-17 15:26:44 +02:00
  • fa759d1f46 Allow using !update without a case number. Will update the mod's latest case instead. Dragory 2019-02-17 15:23:40 +02:00
  • ed3760313f Update to Knub 17.0.1, remove all d.nonBlocking() calls Dragory 2019-02-17 15:19:55 +02:00
  • 4b6437c4ae ReactionRoles: increase reaction removal delay to avoid confusion Dragory 2019-02-16 16:43:59 +02:00
  • 33f50a460b ReactionRoles: don't add/remove roles multiple times if the user spams the reaction Dragory 2019-02-16 16:03:20 +02:00
  • 22c9908fe0 Censor: add invite setting for group dm invites, fix error when filtering group dm invites Dragory 2019-02-16 15:54:39 +02:00
  • d694d9f129 ReactionRoles: add a small delay before removing the reaction Dragory 2019-02-16 14:40:44 +02:00
  • 6358022442 Make more events non-blocking Dragory 2019-02-16 14:13:46 +02:00
  • 44c731564b censor: make regex matching case-insensitive Dragory 2019-02-16 14:13:19 +02:00
  • 8ddf53345d ReactionRoles: queue reaction removals Dragory 2019-02-16 12:01:31 +02:00
  • add5367232 ReactionRoles: use reactionAdd as a toggle instead, and remove reactions as soon as the role is granted Dragory 2019-02-16 11:58:11 +02:00
  • 6cc6528599 Logs: add support for batching multiple log messages into 1 Dragory 2019-02-16 11:47:15 +02:00
  • aec251aa34 Ignore low prio errors in ReactionRoles Dragory 2019-02-16 11:29:20 +02:00
  • 69fc5f5df5 utility: sort !roles by name Dragory 2019-02-15 05:20:38 +02:00
  • 41dd33c2d9 tslint: disable interface-over-type-literal Dragory 2019-02-15 05:08:25 +02:00
  • 0b0bb05eed GuildActions: create overloads for known actions; refactor certain actions, using only 1 args object; mutes: move !mutes to the Mutes plugin, fix case number not showing in mute list, make mute list prettier Dragory 2019-02-15 05:07:28 +02:00
  • bdc8b85955 utility: make !roles prettier, include search functionality Dragory 2019-02-15 03:55:18 +02:00
  • e44d517f4c ReactionRoles: add !reaction_roles refresh command Dragory 2019-02-10 22:32:27 +02:00
  • 28bf7ecf67 Post: allow adding linebreaks with \n Dragory 2019-02-09 14:47:50 +02:00
  • de05352f18 Starboard: ignore error when fetching message in onMessageReactionAdd Dragory 2019-02-09 14:38:50 +02:00
  • 2e245ab16b utils: fix isSnowflakeRegex; add isUnicodeEmoji Dragory 2019-02-09 14:36:31 +02:00
  • 52db74005b ReactionRoles: only require message id; allow use of emojis from other (shared) servers; add !reaction_roles clear command Dragory 2019-02-09 14:36:03 +02:00