import { Inhibitor } from './Inhibitor' ; import { CommandContext } from '../lib/structures/contexts/CommandContext' ; import { ComponentContext } from '../lib/structures/contexts/ComponentContext' ; import { confirm , ConfirmOptions } from '../util/confirm' ; export class Confirm extends Inhibitor { public options ? : ConfirmOptions ; constructor ( options ? ) { super ( ) ; this . options = options ; } async run ( ctx ) { return await confirm ( ctx , this . options ) ; } }