the bot authorization token you got from Discord
a URL for your bot, used to identify the user-agent. Discord says it should not be null, but that seems to work.
version number (or whatever) for your bot, used as part of the user-agent. Should not be null according to the docs but it doesn't seem to matter in practice.
Prepare a gateway connection. After you construct it, you still need to call connect.