Ejemplo n.º 1
0
 private async Task Commands_CommandExecuted(CommandsNextExtension extension, CommandExecutionEventArgs e)
 {
     if (LogExecutedCommands)
     {
         _logger.Info(GetCommandInfo(e.Context));
         await _diagnosticService.AddExecutedCommandAsync(e.Command, e.Context.Guild);
     }
 }