aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/extensions/discord-akairo/BushClient.ts2
-rw-r--r--src/lib/extensions/discord-akairo/BushCommandHandler.ts7
-rw-r--r--src/lib/extensions/discord-akairo/BushListener.ts7
3 files changed, 12 insertions, 4 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClient.ts b/src/lib/extensions/discord-akairo/BushClient.ts
index 8eec3ce..8496d2a 100644
--- a/src/lib/extensions/discord-akairo/BushClient.ts
+++ b/src/lib/extensions/discord-akairo/BushClient.ts
@@ -231,7 +231,7 @@ export class BushClient extends AkairoClient {
}
await this.dbPreInit();
await UpdateCacheTask.init(this);
- this.console.success('Startup', `Successfully created <<global cache>>.`, false);
+ this.console.success('Startup', `Successfully created <<cache>>.`, false);
this.taskHandler.startAll();
}
diff --git a/src/lib/extensions/discord-akairo/BushCommandHandler.ts b/src/lib/extensions/discord-akairo/BushCommandHandler.ts
index dacd17f..ae8f95b 100644
--- a/src/lib/extensions/discord-akairo/BushCommandHandler.ts
+++ b/src/lib/extensions/discord-akairo/BushCommandHandler.ts
@@ -19,7 +19,12 @@ export interface BushCommandHandlerEvents extends CommandHandlerEvents {
slashBlocked: [message: BushSlashMessage, command: BushCommand, reason: string];
- slashMissingPermissions: [message: BushSlashMessage, command: BushCommand, type: 'client' | 'user', missing: Array<PermissionString>];
+ slashMissingPermissions: [
+ message: BushSlashMessage,
+ command: BushCommand,
+ type: 'client' | 'user',
+ missing: Array<PermissionString>
+ ];
}
export class BushCommandHandler extends CommandHandler {
diff --git a/src/lib/extensions/discord-akairo/BushListener.ts b/src/lib/extensions/discord-akairo/BushListener.ts
index 2583e85..59b6162 100644
--- a/src/lib/extensions/discord-akairo/BushListener.ts
+++ b/src/lib/extensions/discord-akairo/BushListener.ts
@@ -3,7 +3,10 @@ import EventEmitter from 'events';
import { BushClient } from './BushClient';
export class BushListener extends Listener {
public declare client: BushClient;
- public constructor(id: string, options?:{emitter: string|EventEmitter, event: string, type?: 'on'|'once', category?: string}){
- super(id, options)
+ public constructor(
+ id: string,
+ options?: { emitter: string | EventEmitter; event: string; type?: 'on' | 'once'; category?: string }
+ ) {
+ super(id, options);
}
}