Exemplo n.º 1
0
 public async Task RunAsync(CoreMessage message, CommandInfo command)
 {
     await message.SendLocaleAsync("UsageCommand", command.Name, GetUsage(command));
 }
Exemplo n.º 2
0
        public async Task RunAsync(CoreMessage message)
        {
            var response = await message.SendLocaleAsync("Ping");

            await response.EditLocaleAsync("Pong", Difference(message, response).Milliseconds);
        }