Update creating-context-menu-commands.md (#2061)
Fix typo Add missing semicolon
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user