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

Fix typo
Add missing semicolon
This commit is contained in:
Rob Aguilar
2022-01-27 08:50:26 -05:00
committed by GitHub
parent 5897dc5a45
commit b0f59e3eb9

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)
{ {