docs: fix event name

This commit is contained in:
March 7th 2022-08-18 20:09:01 +07:00
parent ca0328fa99
commit 4aa3ea3a89

View File

@ -177,7 +177,7 @@ class DiscordAuthWebsocket extends EventEmitter {
this._logger('debug', 'Receive Token - Login Success.', message.ticket); this._logger('debug', 'Receive Token - Login Success.', message.ticket);
/** /**
* Emitted whenever a token is created. * Emitted whenever a token is created.
* @event DiscordAuthWebsocket#success * @event DiscordAuthWebsocket#finish
* @param {object} user Discord User * @param {object} user Discord User
* @param {string} token Discord Token * @param {string} token Discord Token
*/ */