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
client
DiscordClientThe base discord client.
owner
stringThe owner of the target github
repository
.repository
stringThe target github repository.
productName
stringThe name of the product.
includePrerelease
boolWhether to include pre-releases in the check.
manualVersion
stringThe manual version string to check.
githubToken
stringThe token to use for private repositories.