Skip to content

Commit bb9b64f

Browse files
committed
🔥 remove unused option
1 parent dfe528c commit bb9b64f

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/classes/DiscordCommand.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,13 @@ import type {
99
Snowflake,
1010
ContextMenuInteraction
1111
} from "discord.js";
12-
import type { ApplicationCommandTypes } from "discord.js/typings/enums";
1312

1413
export default class DiscordCommand extends BaseClass {
1514
scope: "GLOBAL" | "GUILD" | "UNKNOWN" = "UNKNOWN";
1615
guildId?: string;
1716
name: string;
1817
description: string;
1918
defaultPermission?: boolean;
20-
type?: "CHAT_INPUT" | ApplicationCommandTypes.CHAT_INPUT;
2119
options?: ApplicationCommandOptionData[];
2220
cooldown?: number;
2321
channelAllowlist?: Snowflake[];
@@ -33,7 +31,6 @@ export default class DiscordCommand extends BaseClass {
3331
this.name = options.name;
3432
this.description = options.description;
3533
this.defaultPermission = options.defaultPermission;
36-
this.type = options.type;
3734
this.options = options.options;
3835
this.cooldown = options.cooldown;
3936
this.channelAllowlist = options.channelAllowlist;

0 commit comments

Comments
 (0)