forked from Galactic/galactic-bot
devs bypass throttle
This commit is contained in:
parent
1ad69ff44e
commit
54be30cc19
@ -14,6 +14,7 @@ class Throttle extends Inhibitor {
|
|||||||
|
|
||||||
execute(message, command) {
|
execute(message, command) {
|
||||||
|
|
||||||
|
if (message.author.developer) return super._succeed();
|
||||||
const throttle = this.throttleCommand(message, command);
|
const throttle = this.throttleCommand(message, command);
|
||||||
|
|
||||||
if(throttle) {
|
if(throttle) {
|
||||||
|
Loading…
Reference in New Issue
Block a user