Browse Source

Update creating-context-menu-commands.md (#2061)

Fix typo
Add missing semicolon
tags/3.2.1
Rob Aguilar GitHub 3 years ago
parent
commit
b0f59e3eb9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      docs/guides/int_basics/application-commands/context-menu-commands/creating-context-menu-commands.md

+ 2
- 2
docs/guides/int_basics/application-commands/context-menu-commands/creating-context-menu-commands.md View File

@@ -70,7 +70,7 @@ public async Task Client_Ready()


// Let's do our global commands // Let's do our global commands
var globalUserCommand = new UserCommandBuilder(); var globalUserCommand = new UserCommandBuilder();
globalCommand.WithName("Global User Command");
globalUserCommand.WithName("Global User Command");
var globalMessageCommand = new MessageCommandBuilder(); var globalMessageCommand = new MessageCommandBuilder();
globalMessageCommand.WithName("Global Message Command"); globalMessageCommand.WithName("Global Message Command");


@@ -89,7 +89,7 @@ public async Task Client_Ready()
{ {
globalUserCommand.Build(), globalUserCommand.Build(),
globalMessageCommand.Build() globalMessageCommand.Build()
})
});
} }
catch(ApplicationCommandException exception) catch(ApplicationCommandException exception)
{ {


Loading…
Cancel
Save