/// <inheritdoc />
 public virtual async Task <IInviteMetadata> CreateInviteAsync(int?maxAge = 86400, int?maxUses = null, bool isTemporary = false, bool isUnique = false, RequestOptions options = null)
 => await ChannelHelper.CreateInviteAsync(this, Discord, maxAge, maxUses, isTemporary, isUnique, options).ConfigureAwait(false);
Beispiel #2
0
 public async Task <RestInviteMetadata> CreateInviteAsync(int?maxAge = 3600, int?maxUses = null, bool isTemporary = true, RequestOptions options = null)
 => await ChannelHelper.CreateInviteAsync(this, Discord, maxAge, maxUses, isTemporary, options).ConfigureAwait(false);