3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-16 14:11:50 +00:00
Commit graph

39 commits

Author SHA1 Message Date
Dragory
e8ff297368
Add !message/!messageinfo command 2020-08-06 00:46:47 +03:00
Dragory
1040bf581a
Work on !invite styles 2020-08-05 20:18:30 +03:00
Dragory
024078ccdc
Add !invite utility command 2020-08-05 18:52:15 +03:00
Dragory
5ea0f7eb46
Improve audit log error handling, show BOT_ALERT in more cases 2020-08-05 02:25:13 +03:00
Dragory
f6d55f1060
ZeppelinPluginBlueprint.configSchema is now required. Validate deep partial config schema before running config preprocessor. 2020-07-30 20:10:50 +03:00
Dragory
f500034729
Port BotControl 2020-07-30 03:21:07 +03:00
Dragory
c39d69dd5d
automod: ensure actions only apply once per user/member 2020-07-29 22:58:14 +03:00
Dragory
ac714ea307
Fix case embeds breaking with notes over 1024 chars in length 2020-07-29 22:48:49 +03:00
Dragory
86023877a2
Automod actions + ModActions public interface 2020-07-28 21:34:01 +03:00
Dragory
0e9f65e0d5
Automod work vol 2 2020-07-27 21:51:03 +03:00
Dragory
1064a1ca46
Add custom logger. Fix a bunch of errors. Optimize imports. 2020-07-22 22:56:21 +03:00
Dragory
177fc40780
Various Knub 30 and type fixes 2020-07-06 02:08:11 +03:00
Dragory
954c88bee2
Port !search and !bansearch to Knub 30 2020-07-05 15:59:15 +03:00
Dragory
d62a4e26ae
Knub 30 conversion base work; Work on Utility plugin Knub 30 conversion 2020-07-05 05:00:54 +03:00
Dragory
53a9c58dd4
automod.reply: allow embeds, add auto_delete option 2020-05-22 23:38:11 +03:00
Dragory
1cff4fb801
tags: add support for embeds 2020-05-22 23:21:57 +03:00
Dragory
31d3e2b1d7
Another potential fix for Node.js 13/14 incompatibility 2020-05-08 18:29:17 +03:00
Dragory
0de53d1fb4
Possible fix for module error on Node.js 13 and 14 2020-05-08 03:13:30 +03:00
Dragory
b251942e40
discordapp.com -> discord.com 2020-05-04 21:59:20 +03:00
Dragory
4cf8c2ae92
Allow getUrlsInString() to match urls that start mid-word with a protocol 2020-04-23 18:57:31 +03:00
Dragory
b30df3f8d4
Automod: add include_words/exclude_words and include_regex/exclude_regex to match_links trigger 2020-04-11 16:56:55 +03:00
Dragory
820c9b466e
Add mass role add/remove commands. Fix UnknownUser mentions in logs. Fix unnecessary audit log reads when adding/removing roles and the log type is ignored. 2020-03-28 15:21:13 +02:00
Dragory
89f545eb62
Allow overriding user notification method for mod actions via -notify and -notify-channel. Allow setting these settings for automod actions as well. 2020-01-29 02:44:11 +02:00
Dragory
6a5e71d7c1
Tweaks to !server numbers. Try to prevent unnecessary API calls.
!server can now also use numbers from the invite of servers with
a vanity URL.

API calls for the invite and the REST guild endpoint are now memoized.

Since Guild.fetchAllMembers() now returns a promise, tweaked
refreshMembersIfNeeded() to not make unnecessary API calls if called
multiple times in rapid succession.
2020-01-21 00:24:04 +02:00
Dragory
225f4084b2 Add function for formatting large numbers 2020-01-12 16:34:33 +02:00
Dragory
fd47ba9d69 Set default success emoji to zep_check; add error_emoji support, mirroring success_emoji but for error messages 2020-01-12 13:44:31 +02:00
roflmaoqwerty
af882627a1 changed almost all references of utils successMessage to this.sendSuccessMessage. Waiting on knub changes to finish this 2020-01-12 22:21:14 +11:00
Dragory
1aceb55a87 Run prettier and check tslint on entire codebase
Mainly to run these checks for the recent pull requests.
2020-01-12 11:48:31 +02:00
roflmaoqwerty
d16a67bca3 added match by role name functionality to roles plugin 2020-01-10 01:04:58 +11:00
Dragory
5ab6f59593 starboard: localized timestamps; add link to original message again 2019-12-02 01:11:40 +02:00
Dragory
2ff65e89fd Add repeat options for scheduled posts 2019-12-01 23:23:34 +02:00
Dragory
56fb432c7c Initial work on stats 2019-12-01 15:57:35 +02:00
Dragory
48adb1df90 chore: clean up getInviteCodesInString 2019-11-30 22:05:48 +02:00
Dragory
64e1fbc10c Add !context utility command 2019-11-30 19:54:44 +02:00
Dragory
7df1bb91d2 automod: show matched text in summaries; don't use show post date in summaries; add logMessage variable to alert action
Post date will always be more or less the time the log message is posted.

The logMessage variable in the alert action contains the full,
formatted log message that would be posted in a log channel as the
AUTOMOD_ACTION log type.
2019-11-30 18:16:02 +02:00
Dragory
ba2873a29a Run a loose pre-check before preprocessStaticConfig
This loose pre-check checks the config schema by treating every object
as partial. This means that if a property exists, it's guaranteed to be
the correct type (e.g. object). However, there's no guarantee that all
or any properties exist.

This allows preprocessStaticConfig implementations to be much less
defensive and thus reduce boilerplate.
2019-11-28 02:34:41 +02:00
Dragory
969e06e00e utils: add messageLink() and isValidEmbed() 2019-11-27 22:02:11 +02:00
Dragory
9164bcd045 Fix URL matching in automod, censor, and spam plugin 2019-11-27 20:41:45 +02:00
Dragory
16111bbe84 Reorganize project. Add folder for shared code between backend/dashboard. Switch from jest to ava for tests. 2019-11-02 22:11:26 +02:00
Renamed from src/utils.ts (Browse further)