public async Task ClearCommandLog() { try { var user = Context.User; if (!Helper.IsOwner(user)) { await ReplyAsync("Sorry, but you're not allowed to use that super premium command!"); return; } long kb = CommandLogger.Clear(); await ReplyAsync($"Log cleared! ({kb} kB)"); } catch (Exception ex) { await ReplyAsync("Whoops, unfortunately I couldn't clear the log.. :confused:"); ConsoleHelper.Log($"Error clearing log, {ex.Message}!", LogSeverity.Error); } }