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](https://cdn.answeroverflow.com/1211262498955722802/image.png)
Solution:Jump to 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.
7 Replies
https://discord.js.org/docs/packages/discord.js/main/ClientEvents:Interface
Somthing similar to this, but for Sapphire js
discord.js | ClientEvents
Discord.js API Documentation
In other words, I would like to know if thee are any more arguments for
ChatInputCommandError
& ChatInputSubcommandError
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.
Thanks, I got what I needed
Use Github's file search & I stumbled upon
CoreChatInputCommandError
listener, which is what I neededit should also be noted that if you use the Events constant then the parameters are in the TSDoc of the event
Going this way also helped
![No description](https://cdn.answeroverflow.com/1211309469959462983/image.png)