login

Let's you login using the bots token

bot.login("bot token")

Once you do bot.login it will automatically start the WebSocket connection and will set the token to the global variable "token" so it can be accessed globally.

Last updated