Add private message delete bucket

This commit is contained in:
abalabahaha
2016-08-07 08:03:26 +09:00
parent c0ef815f9d
commit d656c68e75
3 changed files with 14 additions and 12 deletions

View File

@@ -254,6 +254,7 @@ var InternalClient = (function () {
"bot:msg:dm": new _UtilBucket2["default"](5, 5000),
"bot:msg:global": new _UtilBucket2["default"](50, 10000),
"msg": new _UtilBucket2["default"](10, 10000),
"dmsg:undefined": new _UtilBucket2["default"](5, 1000),
"username": new _UtilBucket2["default"](2, 3600000)
};

View File

@@ -6,23 +6,23 @@ exports.__esModule = true;
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var TokenCacher = (function () {
function TokenCacher() {
_classCallCheck(this, TokenCacher);
}
function TokenCacher() {
_classCallCheck(this, TokenCacher);
}
TokenCacher.prototype.setToken = function setToken() {};
TokenCacher.prototype.setToken = function setToken() {};
TokenCacher.prototype.save = function save() {};
TokenCacher.prototype.save = function save() {};
TokenCacher.prototype.getToken = function getToken() {
return null;
};
TokenCacher.prototype.getToken = function getToken() {
return null;
};
TokenCacher.prototype.init = function init(ind) {
this.done = true;
};
TokenCacher.prototype.init = function init(ind) {
this.done = true;
};
return TokenCacher;
return TokenCacher;
})();
exports["default"] = TokenCacher;