Skip to content

Commit

Permalink
Fix an example in a guide
Browse files Browse the repository at this point in the history
  • Loading branch information
KubaZ2 committed Dec 16, 2023
1 parent 0a03fed commit 24c5dc2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
.AddInteraction<RoleMenuInteractionContext>("role", (RoleMenuInteractionContext context) => string.Join("\n", context.SelectedRoles))
.AddInteraction<MentionableMenuInteractionContext>("mentionable", (MentionableMenuInteractionContext context) => string.Join("\n", context.SelectedMentionables))
.AddInteraction<ChannelMenuInteractionContext>("channel", (ChannelMenuInteractionContext context) => string.Join("\n", context.SelectedChannels))
.AddInteraction<ModalSubmitInteractionContext>("modal", (ModalSubmitInteractionContext context) => string.Join("\n", context.Values))
.AddInteraction<ModalSubmitInteractionContext>("modal", (ModalSubmitInteractionContext context) => context.Components[0].Value)
.AddModules(typeof(Program).Assembly)
.UseGatewayEventHandlers();

Expand Down

0 comments on commit 24c5dc2

Please sign in to comment.