/// <summary> /// Gets this commands permissions inside of the current guild. /// </summary> /// <param name="options">The options to be used when sending the request.</param> /// <returns> /// A task that represents the asynchronous get operation. The task result contains a /// <see cref="GuildApplicationCommandPermission"/> object defining the permissions of the current slash command. /// </returns> public Task <GuildApplicationCommandPermission> GetCommandPermission(RequestOptions options = null) => InteractionHelper.GetGuildCommandPermissionAsync(Discord, GuildId, Id, options);