コード例 #1
0
 /// <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);
コード例 #2
0
ファイル: RpcGuildChannel.cs プロジェクト: Lelouch99/bot_cc
 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);