Created
April 4, 2021 03:09
-
-
Save GuyInGrey/6ab421f9517575bd0587c712bee792ee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var props = new SlashCommandCreationProperties() | |
{ | |
Name = "elite", | |
Description = "Commands related to Elite: Dangerous.", | |
Options = new List<ApplicationCommandOptionProperties>() | |
{ | |
new ApplicationCommandOptionProperties() | |
{ | |
Name = "status", | |
Description = "Get Elite's server status.", | |
Type = ApplicationCommandOptionType.SubCommand, | |
Required = false, | |
}, | |
new ApplicationCommandOptionProperties() | |
{ | |
Name = "carrier", | |
Description = "Get a fleet carrier's info.", | |
Type = ApplicationCommandOptionType.SubCommand, | |
Required = false, | |
Options = new List<ApplicationCommandOptionProperties>() | |
{ | |
new ApplicationCommandOptionProperties() | |
{ | |
Name = "id", | |
Required = false, | |
Type = ApplicationCommandOptionType.String, | |
} | |
} | |
}, | |
new ApplicationCommandOptionProperties() | |
{ | |
Name = "distance", | |
Description = "Get the distance between two systems.", | |
Type = ApplicationCommandOptionType.SubCommand, | |
Required = false, | |
Options = new List<ApplicationCommandOptionProperties>() | |
{ | |
new ApplicationCommandOptionProperties() | |
{ | |
Name = "system1", | |
Required = true, | |
Type = ApplicationCommandOptionType.String, | |
}, | |
new ApplicationCommandOptionProperties() | |
{ | |
Name = "system1", | |
Required = true, | |
Type = ApplicationCommandOptionType.String, | |
} | |
} | |
}, | |
new ApplicationCommandOptionProperties() | |
{ | |
Name = "system", | |
Description = "Get info about a system.", | |
Type = ApplicationCommandOptionType.SubCommand, | |
Required = false, | |
Options = new List<ApplicationCommandOptionProperties>() | |
{ | |
new ApplicationCommandOptionProperties() | |
{ | |
Name = "system", | |
Required = true, | |
Type = ApplicationCommandOptionType.String, | |
} | |
}, | |
}, | |
new ApplicationCommandOptionProperties() | |
{ | |
Name = "bodies", | |
Description = "Get celestial bodies in a system.", | |
Type = ApplicationCommandOptionType.SubCommand, | |
Required = false, | |
Options = new List<ApplicationCommandOptionProperties>() | |
{ | |
new ApplicationCommandOptionProperties() | |
{ | |
Name = "system", | |
Required = true, | |
Type = ApplicationCommandOptionType.String, | |
} | |
}, | |
}, | |
new ApplicationCommandOptionProperties() | |
{ | |
Name = "factions", | |
Description = "Get factions in a system.", | |
Type = ApplicationCommandOptionType.SubCommand, | |
Required = false, | |
Options = new List<ApplicationCommandOptionProperties>() | |
{ | |
new ApplicationCommandOptionProperties() | |
{ | |
Name = "system", | |
Required = true, | |
Type = ApplicationCommandOptionType.String, | |
} | |
}, | |
}, | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment