Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
fix(Command): adjust type with builders
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazmi35 authored May 5, 2024
1 parent 51099f9 commit 5832580
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/framework/src/Stores/Command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Lexer, PrefixedStrategy } from "@sapphire/lexure";
import type { AliasPieceOptions, LoaderPieceContext } from "@sapphire/pieces";
import { AliasPiece } from "@sapphire/pieces";
import type { Awaitable } from "@sapphire/utilities";
import type { RESTPostAPIApplicationCommandsJSONBody } from "discord-api-types/v10";
import type { APIApplicationCommandOption } from "discord-api-types/v10";
import { PermissionFlagsBits } from "discord-api-types/v10";
import type { CommandContext } from "../Lib/CommandContext.js";
import type { FlagStrategyOptions } from "../Lib/FlagUnorderedStrategy.js";
Expand Down Expand Up @@ -94,8 +94,8 @@ export type CommandOptions = AliasPieceOptions & FlagStrategyOptions & {
quotes?: [string, string][];
strategy?: IUnorderedStrategy;
preconditions?: PreconditionEntryResolvable[];
chatInput?: RESTPostAPIApplicationCommandsJSONBody;
contextMenu?: RESTPostAPIApplicationCommandsJSONBody;
chatInput?: APIApplicationCommandOption;
contextMenu?: APIApplicationCommandOption;
meta?: CommandMeta;
clientPermissions?: {
voice?: bigint[];
Expand Down

0 comments on commit 5832580

Please sign in to comment.