Ben
SIASapphire - Imagine a framework
•Created by Ben on 5/14/2023 in #sapphire-support
Container augmentation no longer working
I'm working on updating my dependencies to work with TS5 and my module augmentation specifically for container is no longer working. Augmentation of stuff in
@sapphire/framework
like DetailedDescriptionCommandObject
is still working just fine.
Here is the file where I'm doing the augmentation: https://github.com/BenSegal855/Steve-V3/blob/dev/src/lib/augments.ts
Here is my current local package.json: https://pastebin.com/63NJ74FJ5 replies
SIASapphire - Imagine a framework
•Created by Ben on 4/9/2023 in #sapphire-support
Autocomplete `interaction.commandName` when used in a subcommand
What will be the contents of
interaction.commandName
in an autocomplete interaction handler when the invoking interaction came from a subcommand or a subcommand in a group? Is it just baseCommand subCommand
and baseCommand group subCommand
? On a similar note, does interaction.commandId
change for each subcommand?19 replies