// Initialize Github RPC public static void InitializeGitHub() { try { StaticReferences.Githubclient = new GitHubClient(new ProductHeaderValue("WolvenKit")) { Credentials = Github_Helpers.GhubAuth("wolvenbot", "botwolven1") }; } catch (Exception e) { StaticReferences.Logger.Error(e); } }
/// <summary> /// Initialize Github RPC /// </summary> public static void InitializeGitHub() => StaticReferences.Githubclient = new GitHubClient(new ProductHeaderValue("WolvenKit")) { Credentials = Github_Helpers.GhubAuth("wolvenbot", "botwolven1") };