Method CheckGitHubVersionAsync
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
CheckGitHubVersionAsync(DiscordClient, string, string, string, bool, string?, string?)
Perfoms a version check against github releases.
public static Task CheckGitHubVersionAsync(DiscordClient client, string owner = "Aiko-IT-Systems", string repository = "DisCatSharp", string productName = "DisCatSharp", bool includePrerelease = true, string? manualVersion = null, string? githubToken = null)
Parameters
clientDiscordClientThe base discord client.
ownerstringThe owner of the target github
repository.repositorystringThe target github repository.
productNamestringThe name of the product.
includePrereleaseboolWhether to include pre-releases in the check.
manualVersionstringThe manual version string to check.
githubTokenstringThe token to use for private repositories.