aboutsummaryrefslogtreecommitdiff
path: root/src/bot.ts
diff options
context:
space:
mode:
authorFederico Rapetti <[email protected]>2023-03-04 22:40:26 +0100
committerGitHub <[email protected]>2023-03-04 15:40:26 -0600
commit02611f2ae1722a93f05f80d94a0f6820b4e4ea0f (patch)
tree5eaabb4ddc0ada09249a13b0be917afb64ea036b /src/bot.ts
parent02ee8aefc86b3a9902827874260d59115e73af13 (diff)
downloadmuse-02611f2ae1722a93f05f80d94a0f6820b4e4ea0f.tar.xz
muse-02611f2ae1722a93f05f80d94a0f6820b4e4ea0f.zip
Fix all lint errors (#909)
Co-authored-by: Max Isom <[email protected]>
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;