def add_member_using_token(user, access_token, nick: nil, roles: [], deaf: false, mute: false)
      user_id = user.resolve_id
      roles = roles.is_a?(Array) ? roles.map(&:resolve_id) : [roles.resolve_id]
      response = JSON.parse(API::Server.add_member(@bot.token, @id, user_id, access_token, nick, roles, deaf, mute))
      add_member Member.new(response, self, @bot)
    end
def add_member_using_token(user, access_token, nick: nil, roles: [], deaf: false, mute: false)
      user_id = user.resolve_id
      roles = roles.is_a?(Array) ? roles.map(&:resolve_id) : [roles.resolve_id]
      response = JSON.parse(API::Server.add_member(@bot.token, @id, user_id, access_token, nick, roles, deaf, mute))
      add_member Member.new(response, self, @bot)
    end
Adds a member to this guild that has granted this bot's application an OAuth2 access token
 with the `guilds.join` scope.
 For more information about Discord's OAuth2 implementation, see: https://discordapp.com/developers/docs/topics/oauth2
 @note Your bot must be present in this server, and have permission to create instant invites for this to work.
 @param user [Integer, User, #resolve_id] the user, or ID of the user to add to this server
 @param access_token [String] the OAuth2 Bearer token that has been granted the `guilds.join` scope
 @param nick [String] the nickname to give this member upon joining
 @param roles [Role, Array<Integer, Role, #resolve_id>] the role (or roles) to give this member upon joining
 @param deaf [true, false] whether this member will be server deafened upon joining
 @param mute [true, false] whether this member will be server muted upon joining
 @return [Member] the created member