@@ -44,7 +44,7 @@ public async Task RunAsync(InteractionContext context, SlashCommandParamsResult
4444
4545
4646 var actionRowWithSelectMenu = new ActionRowSelectMenuBuilder ( )
47- . AddMenu ( new StringSelectComponent
47+ . AddComponent < InteractionContext > ( new StringSelectComponent
4848 {
4949 CustomId = "weather_options1" ,
5050 Placeholder = "📊 Ver detalhes" ,
@@ -72,7 +72,7 @@ public async Task RunAsync(InteractionContext context, SlashCommandParamsResult
7272 }
7373 ]
7474 } )
75- . AddMenu ( new StringSelectComponent
75+ . AddComponent < InteractionContext > ( new StringSelectComponent
7676 {
7777 CustomId = "weather_options2" ,
7878 Placeholder = "📊 Ver detalhes" ,
@@ -100,7 +100,7 @@ public async Task RunAsync(InteractionContext context, SlashCommandParamsResult
100100 }
101101 ]
102102 } )
103- . AddMenu ( new StringSelectComponent
103+ . AddComponent < InteractionContext > ( new StringSelectComponent
104104 {
105105 CustomId = "weather_options3" ,
106106 Placeholder = "📊 Ver detalhes" ,
@@ -128,7 +128,7 @@ public async Task RunAsync(InteractionContext context, SlashCommandParamsResult
128128 }
129129 ]
130130 } )
131- . AddMenu ( new StringSelectComponent
131+ . AddComponent < InteractionContext > ( new StringSelectComponent
132132 {
133133 CustomId = "weather_options4" ,
134134 Placeholder = "📊 Ver detalhes" ,
@@ -156,7 +156,7 @@ public async Task RunAsync(InteractionContext context, SlashCommandParamsResult
156156 }
157157 ]
158158 } )
159- . AddMenu ( new StringSelectComponent
159+ . AddComponent < InteractionContext > ( new StringSelectComponent
160160 {
161161 CustomId = "weather_options5" ,
162162 Placeholder = "📊 Ver detalhes" ,
0 commit comments