/// <inheritdoc /> public async Task ModifyAsync <TArg>(Action <TArg> func, RequestOptions options = null) where TArg : ApplicationCommandProperties { var command = IsGlobalCommand ? await InteractionHelper.ModifyGlobalCommandAsync(Discord, this, func, options).ConfigureAwait(false) : await InteractionHelper.ModifyGuildCommandAsync(Discord, this, GuildId.Value, func, options); Update(command); }