def make_invite(max_age = 0, max_uses = 0, temporary = false, unique = false, reason = nil)
      response = API::Channel.create_invite(@bot.token, @id, max_age, max_uses, temporary, unique, reason)
      Invite.new(JSON.parse(response), @bot)
    end
def make_invite(max_age = 0, max_uses = 0, temporary = false, unique = false, reason = nil)
      response = API::Channel.create_invite(@bot.token, @id, max_age, max_uses, temporary, unique, reason)
      Invite.new(JSON.parse(response), @bot)
    end
Creates a new invite to this channel.
 @param max_age [Integer] How many seconds this invite should last.
 @param max_uses [Integer] How many times this invite should be able to be used.
 @param temporary [true, false] Whether membership should be temporary (kicked after going offline).
 @param unique [true, false] If true, Discord will always send a unique invite instead of possibly re-using a similar one
 @param reason [String] The reason the for the creation of this invite.
 @return [Invite] the created invite.