forked from Galactic/galactic-bot
rate limiter
This commit is contained in:
parent
93e6031c5b
commit
f5aea60621
@ -10,6 +10,7 @@ const Logger = require('./Logger.js');
|
|||||||
const TransactionHandler = require('./TransactionHandler.js');
|
const TransactionHandler = require('./TransactionHandler.js');
|
||||||
const LocaleLoader = require('../../language/LocaleLoader.js');
|
const LocaleLoader = require('../../language/LocaleLoader.js');
|
||||||
const ModerationManager = require('../moderation/ModerationManager.js');
|
const ModerationManager = require('../moderation/ModerationManager.js');
|
||||||
|
const RateLimiter = require('./RateLimiter.js');
|
||||||
|
|
||||||
const { Guild, GuildMember, User, Message } = require('../../structure/extensions/'); //eslint-disable-line no-unused-vars
|
const { Guild, GuildMember, User, Message } = require('../../structure/extensions/'); //eslint-disable-line no-unused-vars
|
||||||
const { Command, Observer, Inhibitor, Setting } = require('../../structure/interfaces/');
|
const { Command, Observer, Inhibitor, Setting } = require('../../structure/interfaces/');
|
||||||
@ -28,6 +29,7 @@ class DiscordClient extends Client {
|
|||||||
this.logger = new Logger(this);
|
this.logger = new Logger(this);
|
||||||
this.transactionHandler = new TransactionHandler(this);
|
this.transactionHandler = new TransactionHandler(this);
|
||||||
this.localeLoader = new LocaleLoader(this);
|
this.localeLoader = new LocaleLoader(this);
|
||||||
|
this.rateLimiter = new RateLimiter(this);
|
||||||
|
|
||||||
this.moderationManager = new ModerationManager(this);
|
this.moderationManager = new ModerationManager(this);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user