Is there events listing like discord.js does?

Just like in the screenshot, discord.js has listed out all events . So where I can find the same for Sapphirejs? Some of the listeners have multiple args, so I would like to see them all at once, just like this one: https://discord.js.org/docs/packages/discord.js/14.14.1/Client:Class#autoModerationRuleUpdate
discord.js | Client
The main hub for interacting with the Discord API, and the starting point for any bot.
No description
Solution:
you'll have to reference the source code where they are emitted (use search to find that). We currently do not have a way to automatically generate a list of events.
Jump to solution
7 Replies
MRDGH2821
MRDGH2821OP10mo ago
discord.js | ClientEvents
Discord.js API Documentation
MRDGH2821
MRDGH2821OP10mo ago
In other words, I would like to know if thee are any more arguments for ChatInputCommandError & ChatInputSubcommandError
Solution
Favna
Favna10mo ago
you'll have to reference the source code where they are emitted (use search to find that). We currently do not have a way to automatically generate a list of events.
MRDGH2821
MRDGH2821OP10mo ago
Thanks, I got what I needed Use Github's file search & I stumbled upon CoreChatInputCommandError listener, which is what I needed
Favna
Favna10mo ago
it should also be noted that if you use the Events constant then the parameters are in the TSDoc of the event
/**
* Emitted after a chat input command runs unsuccesfully.
* @param {*} error The error that was thrown
* @param {ChatInputCommandErrorPayload} payload The contextual payload
*/
ChatInputCommandError: 'chatInputCommandError' as const,
/**
* Emitted after a chat input command runs unsuccesfully.
* @param {*} error The error that was thrown
* @param {ChatInputCommandErrorPayload} payload The contextual payload
*/
ChatInputCommandError: 'chatInputCommandError' as const,
MRDGH2821
MRDGH2821OP10mo ago
Going this way also helped
No description
Want results from more Discord servers?
Add your server