This commit is contained in:
Erik 2022-04-20 16:00:10 +03:00
parent 759d9ccc5e
commit f1ebfbaa46
Signed by: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -14,7 +14,7 @@ class Inhibitor extends Component {
this.name = opts.name; this.name = opts.name;
this.guild = Boolean(opts.guild); this.guild = Boolean(opts.guild);
this.priority = opts.priority || 1; this.priority = opts.priority || 1;
this.index = `I_${opts.name.toUpperCase()}_ERROR`; this.index = `INHIBITOR_${opts.name.toUpperCase()}_ERROR`;
this.silent = opts.silent === undefined ? false : Boolean(opts.silent); this.silent = opts.silent === undefined ? false : Boolean(opts.silent);
} }