Namespace 'Command' has no exported member 'ChatInputInteraction'.

Hey there, I'm following the guide at https://www.sapphirejs.dev/docs/Guide/getting-started/creating-a-basic-app-command, and I'm getting the error Namespace 'Command' has no exported member 'ChatInputInteraction'. on this line.
public async chatInputRun(interaction: Command.ChatInputInteraction)
public async chatInputRun(interaction: Command.ChatInputInteraction)
Intellisense offers me autocomplete for Command.ChatInputCommandInteraction. Is this a mistake in the guide?
Solution:
Yeah that was changed today in v4. You should use Command.ChatInputCommandInteraction
Jump to solution
4 Replies
Sawako
Sawako2y ago
Outdated guide Open pr
Solution
Ben
Ben2y ago
Yeah that was changed today in v4. You should use Command.ChatInputCommandInteraction
net-tech-
net-tech-OP2y ago
Alright. Opening a PR.
Want results from more Discord servers?
Add your server