Esempio n. 1
0
 /// <summary>
 ///     Modifies this <see cref="RestApplicationCommand"/>.
 /// </summary>
 /// <param name="func">The delegate containing the properties to modify the command with.</param>
 /// <param name="options">The options to be used when sending the request.</param>
 /// <returns>
 ///     The modified command
 /// </returns>
 public async Task <RestGuildCommand> ModifyAsync(Action <ApplicationCommandProperties> func, RequestOptions options = null)
 => await InteractionHelper.ModifyGuildCommand(Discord, this, func, options).ConfigureAwait(false);