Webpack build for branch master: 7473fd513e

This commit is contained in:
Travis CI 2017-03-01 09:53:10 +00:00
parent 2d5c30a7e4
commit f820b25d5c

View file

@ -4956,14 +4956,16 @@ class GuildChannel extends Channel {
/**
* Options given when creating a guild channel invite
* @typedef {Object} InviteOptions
* @property {boolean} [temporary=false] Whether the invite should kick users after 24hrs if they are not given a role
* @property {number} [maxAge=86400] How long the invite shoud last (in seconds, 0 for forever)
* @property {number} [maxUses=0] Maximum amount of uses for this invite
*/
/**
* Create an invite to this guild channel
* @param {InviteOptions} [options={}] The options for the invite
* @param {InviteOptions} [options={}] Options for the invite
* @param {boolean} [options.temporary=false] Whether members that joined via the invite should be automatically
* kicked after 24 hours if they have not yet received a role
* @param {number} [options.maxAge=86400] How long the invite should last (in seconds, 0 for forever)
* @param {number} [options.maxUses=0] Maximum number of uses
* @returns {Promise<Invite>}
*/
createInvite(options = {}) {