@ayanaware/bentocord
Version:
Bentocord is a Bento plugin designed to rapidly build fully functional Discord Bots.
11 lines (10 loc) • 534 B
TypeScript
import { AnyCommandContext } from '../CommandContext';
import { OptionType } from '../constants/OptionType';
import type { CommandOptionValue } from '../interfaces/CommandOption';
import { Resolver } from '../interfaces/Resolver';
export declare type BigIntegerOption = CommandOptionValue<OptionType.BIG_INTEGER, bigint>;
export declare class BigIntegerOptionResolver implements Resolver<bigint> {
option: OptionType;
convert: 3;
resolve(ctx: AnyCommandContext, option: BigIntegerOption, text: string): Promise<bigint>;
}