Table of Contents

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 DiscordClient

The base discord client.

owner string

The owner of the target github repository.

repository string

The target github repository.

productName string

The name of the product.

includePrerelease bool

Whether to include pre-releases in the check.

manualVersion string

The manual version string to check.

githubToken string

The token to use for private repositories.

Returns

Task