mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-04 00:34:26 -05:00 
			
		
		
		
	dev: Revert links back in the code, check for updates in the original nadekobot project
This commit is contained in:
		@@ -19,7 +19,7 @@ public sealed class CheckForUpdatesService : INService, IReadyExecutor
 | 
			
		||||
    private readonly IMessageSenderService _sender;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    private const string RELEASES_URL = "https://gitlab.com/api/v4/projects/57687445/releases";
 | 
			
		||||
    private const string RELEASES_URL = "https://gitlab.com/api/v4/projects/9321079/releases";
 | 
			
		||||
 | 
			
		||||
    public CheckForUpdatesService(
 | 
			
		||||
        BotConfigService bcs,
 | 
			
		||||
@@ -72,7 +72,7 @@ public sealed class CheckForUpdatesService : INService, IReadyExecutor
 | 
			
		||||
                    UpdateLastKnownVersion(latestVersion);
 | 
			
		||||
 | 
			
		||||
                    // pull changelog
 | 
			
		||||
                    var changelog = await http.GetStringAsync("https://gitlab.com/nadeko/nadekobot/-/raw/v5/CHANGELOG.md");
 | 
			
		||||
                    var changelog = await http.GetStringAsync("https://gitlab.com/kwoth/nadekobot/-/raw/v5/CHANGELOG.md");
 | 
			
		||||
 | 
			
		||||
                    var thisVersionChangelog = GetVersionChangelog(latestVersion, changelog);
 | 
			
		||||
 | 
			
		||||
@@ -95,7 +95,7 @@ public sealed class CheckForUpdatesService : INService, IReadyExecutor
 | 
			
		||||
                                                   .WithOkColor()
 | 
			
		||||
                                                   .WithAuthor($"NadekoBot v{latest} Released!")
 | 
			
		||||
                                                   .WithTitle("Changelog")
 | 
			
		||||
                                                   .WithUrl("https://gitlab.com/nadeko/nadekobot/-/blob/v5/CHANGELOG.md")
 | 
			
		||||
                                                   .WithUrl("https://gitlab.com/kwoth/nadekobot/-/blob/v5/CHANGELOG.md")
 | 
			
		||||
                                                   .WithDescription(thisVersionChangelog.TrimTo(4096))
 | 
			
		||||
                                                   .WithFooter(
 | 
			
		||||
                                                       "You may disable these messages by typing '.conf bot checkforupdates false'");
 | 
			
		||||
 
 | 
			
		||||
@@ -519,7 +519,7 @@ public sealed class Help : NadekoModule<HelpService>
 | 
			
		||||
        => smc.RespondConfirmAsync(_sender,
 | 
			
		||||
            """
 | 
			
		||||
            - In case you don't want or cannot Donate to NadekoBot project, but you
 | 
			
		||||
            - NadekoBot is a free and [open source](https://gitlab.com/nadeko/nadekobot) project which means you can run your own "selfhosted" instance on your computer.
 | 
			
		||||
            - NadekoBot is a free and [open source](https://gitlab.com/kwoth/nadekobot) project which means you can run your own "selfhosted" instance on your computer.
 | 
			
		||||
 | 
			
		||||
            *Keep in mind that running the bot on your computer means that the bot will be offline when you turn off your computer*
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user