Skip to content

Commit

Permalink
chore: remove interface
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Feb 5, 2023
1 parent 7584579 commit 0df770f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/lib/structures/Command.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { ArgumentStream, Lexer, Parser, type IUnorderedStrategy } from '@sapphire/lexure';
import { AliasPiece, type AliasPieceJSON, type AliasStore } from '@sapphire/pieces';
import { isNullish, type Awaitable, type NonNullObject } from '@sapphire/utilities';
import type { LocalizationMap } from 'discord-api-types/v10';
import {
ChatInputCommandInteraction,
ContextMenuCommandInteraction,
Expand All @@ -12,7 +11,7 @@ import {
type Snowflake
} from 'discord.js';
import { Args } from '../parsers/Args';
import { BucketScope, RegisterBehavior } from '../types/Enums';
import { BucketScope } from '../types/Enums';
import { acquire } from '../utils/application-commands/ApplicationCommandRegistries';
import type { ApplicationCommandRegistry } from '../utils/application-commands/ApplicationCommandRegistry';
import { emitRegistryError } from '../utils/application-commands/emitRegistryError';
Expand Down Expand Up @@ -709,13 +708,6 @@ export interface CommandOptions extends AliasPiece.Options, FlagStrategyOptions
typing?: boolean;
}

/**
* The options for registering a Chat Input Command
* @see Alias for {@link ApplicationCommandRegistry.RegisterOptions}
* @deprecated Prefer using {@link ApplicationCommandRegistry.RegisterOptions} instead.
*/
export type CommandChatInputRegisterShortcut = ApplicationCommandRegistry.RegisterOptions;

export interface MessageCommandContext extends Record<PropertyKey, unknown> {
/**
* The prefix used to run this command.
Expand Down

0 comments on commit 0df770f

Please sign in to comment.