diff options
| author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-07-24 02:03:55 +0000 |
|---|---|---|
| committer | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-07-24 02:03:55 +0000 |
| commit | 0f07eaf05f4f91d5baed4ad3473d904ba99103ed (patch) | |
| tree | 6587a3cb61b0d5733584825eb4cabc06e7cdf6fa /src/lib | |
| parent | b015bec7f66526ec5e959ae99865845f4db4b181 (diff) | |
| download | tanzanite-0f07eaf05f4f91d5baed4ad3473d904ba99103ed.tar.gz tanzanite-0f07eaf05f4f91d5baed4ad3473d904ba99103ed.tar.bz2 tanzanite-0f07eaf05f4f91d5baed4ad3473d904ba99103ed.zip | |
Automatically format code
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/extensions/discord-akairo/BushCommandHandler.ts | 7 | ||||
| -rw-r--r-- | src/lib/extensions/discord-akairo/BushListener.ts | 7 |
2 files changed, 11 insertions, 3 deletions
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); } } |
