testing cmds now have module prop, not on filename

This commit is contained in:
jacoobes
2022-02-13 01:17:33 -06:00
parent fcaf992164
commit dfb34b99e3
3 changed files with 9 additions and 13 deletions

View File

@@ -27,6 +27,7 @@ export type Context = {
message: Option<Message>,
interaction: Option<CommandInteraction>
}
// `string` | `SlashOptions`, narrow down your type by checking `text` | `slash`
export type Arg = ParseType<{text : string, slash : SlashOptions}>
// TypeAlias for interaction.options