aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/listeners/commands')
-rw-r--r--src/listeners/commands/commandStarted.ts2
-rw-r--r--src/listeners/commands/slashCommandError.ts2
-rw-r--r--src/listeners/commands/slashStarted.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/listeners/commands/commandStarted.ts b/src/listeners/commands/commandStarted.ts
index 6cfd239..02726f3 100644
--- a/src/listeners/commands/commandStarted.ts
+++ b/src/listeners/commands/commandStarted.ts
@@ -3,7 +3,7 @@ import { BushCommand } from '../../lib/extensions/discord-akairo/BushCommand';
import { BushListener } from '../../lib/extensions/discord-akairo/BushListener';
export default class CommandStartedListener extends BushListener {
- constructor() {
+ public constructor() {
super('commandStarted', {
emitter: 'commandHandler',
event: 'commandStarted'
diff --git a/src/listeners/commands/slashCommandError.ts b/src/listeners/commands/slashCommandError.ts
index ea48f34..767bd3d 100644
--- a/src/listeners/commands/slashCommandError.ts
+++ b/src/listeners/commands/slashCommandError.ts
@@ -5,7 +5,7 @@ import { BushListener } from '../../lib/extensions/discord-akairo/BushListener';
import { BushSlashMessage } from '../../lib/extensions/discord-akairo/BushSlashMessage';
export default class SlashCommandErrorListener extends BushListener {
- constructor() {
+ public constructor() {
super('slashError', {
emitter: 'commandHandler',
event: 'slashError'
diff --git a/src/listeners/commands/slashStarted.ts b/src/listeners/commands/slashStarted.ts
index 028d962..d6d5c3a 100644
--- a/src/listeners/commands/slashStarted.ts
+++ b/src/listeners/commands/slashStarted.ts
@@ -3,7 +3,7 @@ import { BushListener } from '../../lib/extensions/discord-akairo/BushListener';
import { BushSlashMessage } from '../../lib/extensions/discord-akairo/BushSlashMessage';
export default class SlashStartedListener extends BushListener {
- constructor() {
+ public constructor() {
super('slashStarted', {
emitter: 'commandHandler',
event: 'slashStarted'