3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-21 08:45:03 +00:00

Create color command

This commit is contained in:
Usoka 2021-05-25 21:52:13 +12:00
parent 55b4e39b6e
commit d8dc3b5bd8
7 changed files with 404 additions and 21 deletions

View file

@ -34,14 +34,6 @@ if (!process.env.KEY) {
process.exit(1);
}
declare global {
// This is here so TypeScript doesn't give an error when importing twemoji
// since one of the signatures of twemoji.parse() takes an HTMLElement but
// we're not in a browser environment so including the DOM lib would not make
// sense
type HTMLElement = unknown;
}
// Error handling
let recentPluginErrors = 0;
const RECENT_PLUGIN_ERROR_EXIT_THRESHOLD = 5;