..
This commit is contained in:
parent
759d9ccc5e
commit
f1ebfbaa46
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user