mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Add private message delete bucket
This commit is contained in:
@@ -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)
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -171,6 +171,7 @@ export default class InternalClient {
|
||||
"bot:msg:dm": new Bucket(5, 5000),
|
||||
"bot:msg:global": new Bucket(50, 10000),
|
||||
"msg": new Bucket(10, 10000),
|
||||
"dmsg:undefined": new Bucket(5, 1000),
|
||||
"username": new Bucket(2, 3600000)
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user