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

@ -2,7 +2,7 @@ import { decorators as d, IPluginOptions, logger } from "knub";
import { GuildLogs } from "../data/GuildLogs";
import { LogType } from "../data/LogType";
import { Attachment, Channel, Constants as ErisConstants, Embed, Member, TextChannel, User } from "eris";
import DiscordRESTError from "eris/lib/errors/DiscordRESTError"; // tslint:disable-line
import DiscordRESTError = require("eris/lib/errors/DiscordRESTError.js"); // tslint:disable-line
import {
createChunkedMessage,
findRelevantAuditLogEntry,