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

15 commits

Author SHA1 Message Date
Dragory
b8feafcbfb Add function for formatting large numbers 2020-01-12 16:34:33 +02:00
Dragory
58b4a6aa3d 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
f819b17075 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
3d40783ae1 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
9ac5701817 added match by role name functionality to roles plugin 2020-01-10 01:04:58 +11:00
Dragory
f78acb1094 starboard: localized timestamps; add link to original message again 2019-12-02 01:11:40 +02:00
Dragory
ff4a9e9bd3 Add repeat options for scheduled posts 2019-12-01 23:23:34 +02:00
Dragory
61f87e61b0 Initial work on stats 2019-12-01 15:57:35 +02:00
Dragory
49aba41ab3 chore: clean up getInviteCodesInString 2019-11-30 22:05:48 +02:00
Dragory
bf998b223c Add !context utility command 2019-11-30 19:54:44 +02:00
Dragory
2ae9548b4c 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
c10d12ac22 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
cffdc13ef8 utils: add messageLink() and isValidEmbed() 2019-11-27 22:02:11 +02:00
Dragory
d07a72ce2a Fix URL matching in automod, censor, and spam plugin 2019-11-27 20:41:45 +02:00
Dragory
9250c84637 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)