sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
Api not running
Multiple manual tasks

Error using User Apps in my bot
returning different things to a run method
client permissions failing to resolve in channel
14.8.0
> 14.18.0
Sapphire 4.2.2
> 5.3.3
...Some Listeners/All Interaction Handlers not working
ready
listener works and some events work (REST debig and music), but this (screenshot) event doesnt work or some others as well. None of the interaction handlers work (screenshot added in a new message)
Running into issues with registerApplicationCommands
SlashCommandBuilder
has Subcommands or Group of subcommands. I console logged the data of the SlashCommandBuilder
but still same problem.
Edit: I extended the Subcommand
class to my own liking and added automatic Builder creating upon creating the class within commands. I'll add the screenshot at the bottom cuz i forgot to show it...
Plugin-API Param question
transcript/:id
style routes?
```typescript
import { ApplyOptions } from '@sapphire/decorators';
import { Route, type RouteOptions } from '@sapphire/plugin-api';...PaginatedMessage to fetch data on demand
Commands `status-rewards` and `status-rewards-admin` don't register on Discord
registerApplicationCommands
method implemented. Both show up in debug logs that they are registered, yet don't show up on discord.
interactionCreate listener
Creating a decorator
Question About Sapphire API
`Precondition` doubts.
?avatar
. Is there anything similar for Sapphire where I can provide a function that will return either true
or false
to know if the command should be ran or not. Secondly, how do I handle preconditions that may take sometime to execute, something sort of a database lookup which may take from 50-300ms depending on the workload for the bot. I tried doing something like below
```ts
// command file
public constructor(context: Command.LoaderContext) {
super(context, {...best practice for hybrid commands
Scheduled task pattern broken?
* * * * *
pattern which is for every minute, it's being multi-executed every secondScheduled Task payload types
d.ts
as type for that key but that doesn't work. Could not pass a new instance of slash command builder to registry.registerApplicationCommands