So, I have this piece of code:
lockskipCommand = (function(_super) { __extends(lockskipCommand, _super); function lockskipCommand() { return lockskipCommand.__super__.constructor.apply(this, arguments); } lockskipCommand.prototype.init = function() { this.command = '/lockskip'; this.parseType = 'exact'; return this.rankPrivelege = 'bouncer'; }; lockskipCommand.prototype.functionality = function() { data.lockBooth(); new ModerationForceSkipService(); return setTimeout((function() { return data.unlockBooth(); }), 4500); }; return lockskipCommand; })(Command);
I want it to have something like cooling, so it cannot be used quickly in a row. The reason I want this is to prevent people from skipping because it is because this piece of code is for people skipping.
Hope this is enough to get some help. Thanks!
source share