3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-07 19:17:19 +00:00

Update to Knub 24. Update Node typings to fix error with [util.inspect.custom] property.

This commit is contained in:
Dragory 2019-09-22 17:06:22 +03:00
parent 1681a45069
commit 4d7ab10fcf
12 changed files with 183 additions and 122 deletions

View file

@ -11,7 +11,7 @@ export class PluginRuntimeError {
this.guildId = guildId;
}
[util.inspect.custom](depth, options) {
[util.inspect.custom](depth?, options?) {
return `PRE [${this.pluginName}] [${this.guildId}] ${this.message}`;
}