@@ -39,7 +39,7 @@ protected override IEnumerable<SlashCommand> GetSlashCommands()
3939 {
4040 Name = SHOW_SNIPPET ,
4141 Description = "Shows a snippet" ,
42- Options = new List < SlashCommandOptionBuilder > ( )
42+ Options = new List < SlashCommandOptionBuilder >
4343 {
4444 new SlashCommandOptionBuilder
4545 {
@@ -64,7 +64,7 @@ protected override IEnumerable<SlashCommand> GetSlashCommands()
6464 {
6565 Name = SET_SNIPPET ,
6666 Description = "Sets a snippet" ,
67- Options = new List < SlashCommandOptionBuilder > ( )
67+ Options = new List < SlashCommandOptionBuilder >
6868 {
6969 new SlashCommandOptionBuilder
7070 {
@@ -102,7 +102,7 @@ protected override IEnumerable<SlashCommand> GetSlashCommands()
102102 {
103103 Name = REMOVE_SNIPPET ,
104104 Description = "Removes a snippet" ,
105- Options = new List < SlashCommandOptionBuilder > ( )
105+ Options = new List < SlashCommandOptionBuilder >
106106 {
107107 new SlashCommandOptionBuilder
108108 {
@@ -124,7 +124,7 @@ protected override IEnumerable<SlashCommand> GetSlashCommands()
124124 {
125125 Name = EXPORT_SNIPPET ,
126126 Description = "Exports a snippet" ,
127- Options = new List < SlashCommandOptionBuilder > ( )
127+ Options = new List < SlashCommandOptionBuilder >
128128 {
129129 new SlashCommandOptionBuilder
130130 {
@@ -234,7 +234,7 @@ private List<ApplicationCommandOptionChoiceProperties> GetSnippets()
234234 return _settings . Snippets . Select ( s =>
235235 new ApplicationCommandOptionChoiceProperties
236236 {
237- Name = s . Title ,
237+ Name = $ " { s . Snippet } : { s . Title } " ,
238238 Value = s . Snippet
239239 }
240240 ) . ToList ( ) ;
0 commit comments