Files
Discord.Net/docs/samples/command_service_creation.cs
2015-11-26 20:55:48 +01:00

9 lines
250 B
C#

//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);