aboutsummaryrefslogtreecommitdiff
path: root/src/bot.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/bot.ts')
-rw-r--r--src/bot.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bot.ts b/src/bot.ts
index 596c54e..949d9f0 100644
--- a/src/bot.ts
+++ b/src/bot.ts
@@ -23,9 +23,7 @@ export default class {
private readonly commandsByName!: Collection<string, Command>;
private readonly commandsByButtonId!: Collection<string, Command>;
- constructor(
- @inject(TYPES.Client) client: Client,
- @inject(TYPES.Config) config: Config) {
+ constructor(@inject(TYPES.Client) client: Client, @inject(TYPES.Config) config: Config) {
this.client = client;
this.config = config;
this.shouldRegisterCommandsOnBot = config.REGISTER_COMMANDS_ON_BOT;