public DiscordGatewayBot(string token) { this.token = new TokenResponse(true) { AccessToken = token }; commands = new BotCommands(this.token); Guilds = new BotGuildManager(this.token); }
public DiscordGatewayBot(TokenResponse token) { this.token = token; if (token.Type != TokenType.Bot) { token.Type = TokenType.Bot; } commands = new BotCommands(this.token); Guilds = new BotGuildManager(this.token); }