Updated docs a bit
This commit is contained in:
9
docs/samples/command_service_creation.cs
Normal file
9
docs/samples/command_service_creation.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
//create command service
|
||||
var commandService = new CommandService(new CommandServiceConfig
|
||||
{
|
||||
CommandChar = '~', // prefix char for commands
|
||||
HelpMode = HelpMode.Public
|
||||
});
|
||||
|
||||
//add command service
|
||||
var commands = client.AddService(commandService);
|
||||
Reference in New Issue
Block a user