diff options
Diffstat (limited to 'src/lib/extensions/discord-akairo/BushCommandUtil.ts')
-rw-r--r-- | src/lib/extensions/discord-akairo/BushCommandUtil.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/extensions/discord-akairo/BushCommandUtil.ts b/src/lib/extensions/discord-akairo/BushCommandUtil.ts index f7dd631..7a06b35 100644 --- a/src/lib/extensions/discord-akairo/BushCommandUtil.ts +++ b/src/lib/extensions/discord-akairo/BushCommandUtil.ts @@ -16,3 +16,7 @@ export class BushCommandUtil<BushMessageType extends BushMessage | BushSlashMess super(handler, message); } } + +export interface BushCommandUtil<BushMessageType extends BushMessage | BushSlashMessage> extends CommandUtil<BushMessageType> { + isSlashMessage(message: BushMessage | BushSlashMessage): message is BushSlashMessage; +} |