mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 11:10:38 +00:00
Webpack build for branch master: 7473fd513e
This commit is contained in:
parent
2d5c30a7e4
commit
f820b25d5c
1 changed files with 6 additions and 4 deletions
|
|
@ -4956,14 +4956,16 @@ class GuildChannel extends Channel {
|
||||||
/**
|
/**
|
||||||
* Options given when creating a guild channel invite
|
* Options given when creating a guild channel invite
|
||||||
* @typedef {Object} InviteOptions
|
* @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
|
* 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>}
|
* @returns {Promise<Invite>}
|
||||||
*/
|
*/
|
||||||
createInvite(options = {}) {
|
createInvite(options = {}) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue