The options of the Nakiri client.
Adds a Discord guild ID to the blacklist.
The request body.
The options which will be used for the request.
Adds a link pattern to the blacklist.
The request body.
The options which will be used for the request.
Adds a phrase to the blacklist.
The request body.
The options which will be used for the request.
Adds a YouTube channel ID to the blacklist.
The request body.
The options which will be used for the request.
Adds a YouTube video ID to the blacklist.
The request body.
The options which will be used for the request.
Will request the analysis of a message. You should listen to the analysis
notification for the result. This method will NOT return the analysis
result right away, as it's an asynchronous operation.
Will emit an event, if it exists. Otherwise it will do nothing.
The event name.
The data which will be passed to the event handler.
Will get a list of blacklisted Discord guilds.
The options which will be used for the request.
The list of blacklisted Discord guilds.
Will get a list of blacklisted link patterns.
The options which will be used for the request.
The list of blacklisted link patterns.
Will get a list of blacklisted phrases.
The options which will be used for the request.
The list of blacklisted phrases.
Will get a list of blacklisted YouTube channels.
The options which will be used for the request.
The list of blacklisted YouTube channels.
Will get a list of blacklisted YouTube videos.
The options which will be used for the request.
The list of blacklisted YouTube videos.
Method used to authenticate to the Nakiri Gateway and set the API key to be used for HTTP requests.
The API key which will be used for authentication.
Unregisters an event handler.
The event name.
Error event handler. Will fire when the Gateway emits an error.
The event name.
The event handler.
Entry Added event handler. Will fire when the Gateway sends a notification about the addition of a new entry.
The event name.
The event handler.
Entry Removed event handler. Will fire when the Gateway sends a notification about the removal of an entry.
The event name.
The event handler.
Generic event handler.
The event name.
The event handler.
Ready event handler. Will fire when the Gateway was successfully authenticated and a session has been established.
The event name.
The event handler.
Reconnect event handler. Will fire on successful Gateway reconnection and authentication.
The event name.
The event handler.
Generated using TypeDoc
public