diff --git a/src/lib/updates.js b/src/lib/updates.js index 4daec76..f851d80 100644 --- a/src/lib/updates.js +++ b/src/lib/updates.js @@ -31,7 +31,7 @@ module.exports = client => { if (currentRelease === -1) return client.log.warn('Failed to find current release'); const behind = currentRelease; currentRelease = releases[currentRelease]; - const changelog = `https://discordtickets.app/changelogs/v${latestVersion.replaceAll('.', '') }/`; + const changelog = `https://discordtickets.app/changelogs/v${latestVersion.replaceAll('.', '-') }/`; const guide = 'https://discordtickets.app/self-hosting/updating/'; const { default: boxen } = await import('boxen'); @@ -86,4 +86,4 @@ module.exports = client => { client.log.warn('Failed to check for updates'); client.log.error(error); }); -}; \ No newline at end of file +};