From 4aa3ea3a89aecbd2cd117ca1999301bc490085fd Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Thu, 18 Aug 2022 20:09:01 +0700 Subject: [PATCH] docs: fix event name --- src/util/RemoteAuth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/RemoteAuth.js b/src/util/RemoteAuth.js index 75b1f7e..1b1812c 100644 --- a/src/util/RemoteAuth.js +++ b/src/util/RemoteAuth.js @@ -177,7 +177,7 @@ class DiscordAuthWebsocket extends EventEmitter { this._logger('debug', 'Receive Token - Login Success.', message.ticket); /** * Emitted whenever a token is created. - * @event DiscordAuthWebsocket#success + * @event DiscordAuthWebsocket#finish * @param {object} user Discord User * @param {string} token Discord Token */