sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
commands arent working
![No description](https://cdn.answeroverflow.com/1292868793684590626/image.png)
registerContextMenuCommand type error
Argument of type 'ApplicationCommandType.User' is not assignable to parameter of type 'ContextMenuCommandType'.
This error appears on this line:
```ts
registry.registerContextMenuCommand(builder => builder.setName('Rob').setType(ApplicationCommandType.User));...ApplicationCommandType.User as ContextMenuCommandType
...![No description](https://cdn.answeroverflow.com/1292564455196069989/image.png)
Preconditioning a whole category of commands
PaginatedMessage actions on a single page
Sapphire Dynamic Cooldown Per User
Bun hot module reloading & starting in production with Sapphire
addStringOption applyLocalizedBuilder
why my ping.ts doesnt wanna run after being transpiled?
Using HMR in TS
tsc
with the --watch
flag in the terminalProgrammatically creating and deleting repeated scheduled tasks
How to reload a command or multiple slash commands and get their ids
error while handling the command application command registry
ExpectedValidationError > s.instance(V)
error.
```ts
public override registerApplicationCommands(registry: Command.Registry) {...![No description](https://cdn.answeroverflow.com/1287405021352431676/Screenshot_2024-09-22_211802.png)
TS Issue
![No description](https://cdn.answeroverflow.com/1286558852938076190/image.png)
Slash-Context menu commands with spaces?
Error compile
![No description](https://cdn.answeroverflow.com/1285545251100033064/E8BCFF3A-1F08-445C-B15F-CC03E7414284.png)
Same command files but in different folders
name: 'department/kick'
- developer/kick.js
- name: 'developer/kick'
...Manual Scheduled Task not found
const payload = { awesome: true };
await container.tasks.create({ name: 'rememberMe', payload }, 5000);
const payload = { awesome: true };
await container.tasks.create({ name: 'rememberMe', payload }, 5000);
Manual Scheduled Task Method Arg Number mismatch with documentation
container.tasks.create
has 3 arguments as stated in the github readme (https://github.com/sapphiredev/plugins/tree/main/packages/scheduled-tasks):
- task ā The task to be scheduled.
- payload ā The payload for the task....messageCommandDenied preventing bot from booting