diff --git a/src/Discord.Net.Core/Entities/Interactions/ApplicationCommandOption.cs b/src/Discord.Net.Core/Entities/Interactions/ApplicationCommandOption.cs
index cca832874..63ec3b900 100644
--- a/src/Discord.Net.Core/Entities/Interactions/ApplicationCommandOption.cs
+++ b/src/Discord.Net.Core/Entities/Interactions/ApplicationCommandOption.cs
@@ -60,17 +60,17 @@ namespace Discord
///
/// Gets or sets whether or not this options is the first required option for the user to complete. only one option can be default.
///
- public bool? Default { get; set; }
+ public bool? IsDefault { get; set; }
///
/// Gets or sets if the option is required.
///
- public bool? Required { get; set; }
+ public bool? IsRequired { get; set; }
///
/// Gets or sets whether or not this option supports autocomplete.
///
- public bool Autocomplete { get; set; }
+ public bool IsAutocomplete { get; set; }
///
/// Gets or sets the choices for string and int types for the user to pick from.
///
diff --git a/src/Discord.Net.Core/Entities/Interactions/Slash Commands/SlashCommandBuilder.cs b/src/Discord.Net.Core/Entities/Interactions/Slash Commands/SlashCommandBuilder.cs
index ef25440ad..d98fa3091 100644
--- a/src/Discord.Net.Core/Entities/Interactions/Slash Commands/SlashCommandBuilder.cs
+++ b/src/Discord.Net.Core/Entities/Interactions/Slash Commands/SlashCommandBuilder.cs
@@ -377,12 +377,12 @@ namespace Discord
{
Name = Name,
Description = Description,
- Default = Default,
- Required = Required,
+ IsDefault = Default,
+ IsRequired = Required,
Type = Type,
Options = Options?.Count > 0 ? new List(Options.Select(x => x.Build())) : null,
Choices = Choices,
- Autocomplete = Autocomplete
+ IsAutocomplete = Autocomplete
};
}
diff --git a/src/Discord.Net.Rest/API/Common/ApplicationCommandOption.cs b/src/Discord.Net.Rest/API/Common/ApplicationCommandOption.cs
index 4bf172ebb..c7b304c66 100644
--- a/src/Discord.Net.Rest/API/Common/ApplicationCommandOption.cs
+++ b/src/Discord.Net.Rest/API/Common/ApplicationCommandOption.cs
@@ -70,18 +70,18 @@ namespace Discord.API
? option.Options.Select(x => new ApplicationCommandOption(x)).ToArray()
: Optional.Unspecified;
- Required = option.Required.HasValue
- ? option.Required.Value
+ Required = option.IsRequired.HasValue
+ ? option.IsRequired.Value
: Optional.Unspecified;
- Default = option.Default.HasValue
- ? option.Default.Value
+ Default = option.IsDefault.HasValue
+ ? option.IsDefault.Value
: Optional.Unspecified;
Name = option.Name;
Type = option.Type;
Description = option.Description;
- Autocomplete = option.Autocomplete;
+ Autocomplete = option.IsAutocomplete;
}
}
}