User Account

You can use a user account to connect with Revolt

You need to set the client config to user bot and insert your session token.

Client = new RevoltClient(ClientMode.WebSocket);
// Set the account type to User for user/self bot clients.
await Client.LoginAsync(Token, AccountType.User);
await Client.StartAsync();
await Task.Delay(-1);

To get your session token open up the browser console and use this.

window.state.auth.sessions.get(controllers.client.getReadyClient().user._id).session.token

Ctrl + Shift + i

Last updated