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

Possible fix for module error on Node.js 13 and 14

This commit is contained in:
Dragory 2020-05-08 03:13:30 +03:00
parent b251942e40
commit 0de53d1fb4
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
9 changed files with 13 additions and 12 deletions

View file

@ -12,7 +12,8 @@ import { LogType } from "../data/LogType";
import * as t from "io-ts";
import { tNullable } from "../utils";
import { ERRORS } from "../RecoverablePluginError";
import DiscordRESTError from "eris/lib/errors/DiscordRESTError"; // tslint:disable-line
import DiscordRESTError = require("eris/lib/errors/DiscordRESTError.js"); // tslint:disable-line
const ConfigSchema = t.type({
log_automatic_actions: t.boolean,