cocoa-discord - v3.2.0
    Preparing search index...

    Function checkLogin

    • Do all the checks before login

      You are encouraged to use this in place of Client.login() unless you are having more than one client. (This function does not support that right now)

      You don't need to call ManagementCenter.validateCommands() if you will login the client with this function

      Parameters

      • client: Client
      • token: undefined | string

      Returns Promise<void>