Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
KubaZ2 committed Aug 20, 2023
1 parent bbda6d7 commit 01d7f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/guides/services/interactions/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ We can add an interaction handler now.
Ok, you have everything prepared! It's time to create first interactions!

Create a new file `FirstModule.cs`. Make sure the class is public and add `using NetCord;` and `using NetCord.Services.Interactions;`. Make the class inheriting from `FirstModule<MentionableMenuInteractionContext>`. The file should look like this:
[!code-cs[Program.cs](Introduction/MentionableMenus/Partial/Program.cs)]
[!code-cs[FirstModule.cs](Introduction/MentionableMenus/Partial/FirstModule.cs)]

Now, we will create a `menu` interaction! Add the following lines to the class.
[!code-cs[FirstModule.cs](Introduction/MentionableMenus/Full/FirstModule.cs#L8-L12)]
Expand Down

0 comments on commit 01d7f6e

Please sign in to comment.