From 8120baa60803d6621156ecfb537b2879f1640c4d Mon Sep 17 00:00:00 2001 From: Toastie Date: Sun, 23 Jun 2024 16:57:22 +1200 Subject: [PATCH] Updated CheckForUpdatesService --- .../Modules/Administration/Self/CheckForUpdatesService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/EllieBot/Modules/Administration/Self/CheckForUpdatesService.cs b/src/EllieBot/Modules/Administration/Self/CheckForUpdatesService.cs index 8bcf2e1..938262b 100644 --- a/src/EllieBot/Modules/Administration/Self/CheckForUpdatesService.cs +++ b/src/EllieBot/Modules/Administration/Self/CheckForUpdatesService.cs @@ -19,7 +19,7 @@ public sealed class CheckForUpdatesService : IEService, IReadyExecutor private readonly IMessageSenderService _sender; - private const string RELEASES_URL = "https://toastielab.dev/api/v1/repos/Emotions-stuff/Ellie/releases"; + private const string RELEASES_URL = "https://toastielab.dev/api/v1/repos/Emotions-stuff/EllieBot/releases"; public CheckForUpdatesService( BotConfigService bcs, @@ -72,7 +72,7 @@ public sealed class CheckForUpdatesService : IEService, IReadyExecutor UpdateLastKnownVersion(latestVersion); // pull changelog - var changelog = await http.GetStringAsync("https://toastielab.dev/Emotions-stuff/Ellie/raw/branch/main/CHANGELOG.md"); + var changelog = await http.GetStringAsync("https://toastielab.dev/Emotions-stuff/Ellie/raw/branch/v5/CHANGELOG.md"); var thisVersionChangelog = GetVersionChangelog(latestVersion, changelog); @@ -95,7 +95,7 @@ public sealed class CheckForUpdatesService : IEService, IReadyExecutor .WithOkColor() .WithAuthor($"EllieBot v{latest} Released!") .WithTitle("Changelog") - .WithUrl("https://toastielab.dev/Emotions-stuff/Ellie/src/branch/main/CHANGELOG.md") + .WithUrl("https://toastielab.dev/Emotions-stuff/Ellie/src/branch/v5/CHANGELOG.md") .WithDescription(thisVersionChangelog.TrimTo(4096)) .WithFooter( "You may disable these messages by typing '.conf bot checkforupdates false'");