created new SlashOptions wrap type

This commit is contained in:
jacoobes
2022-02-04 00:41:27 -06:00
parent 55ea90bdc0
commit a83a0635a4

View File

@@ -26,5 +26,7 @@ export type Context = {
}
export type ParseType = {
text : [arg: string];
slash : [options : Omit<CommandInteractionOptionResolver, "getMessage" | "getFocused">]
slash : [SlashOptions]
};
export type SlashOptions = Omit<CommandInteractionOptionResolver, "getMessage" | "getFocused">;