diff --git a/ReleaseNotes.md b/ReleaseNotes.md index c697dfd..acffeaf 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,5 +1,8 @@ # Release Notes +## v2.2.1 Hotfix +Fix bug where saved content isn't saved as lowercase, making in unaccessible. + ## v2.2.0 NodBot no longer stores saved GIFs, Copypastas, and other custom content locally. This means no more discrepancies between versions of the bot! diff --git a/commands/savegif.js b/commands/savegif.js index 202f46d..8034010 100644 --- a/commands/savegif.js +++ b/commands/savegif.js @@ -80,7 +80,7 @@ module.exports = { nameCollector.on('collect', nameMessage => { channel.send('The GIF has been saved as: ' + nameMessage.content + '.gif'); - functions.saveGif(message, nameMessage.content, data.embed_url); + functions.saveGif(message, nameMessage.content.toLowerCase(), data.embed_url); }); nameCollector.on('end', (collected, reason) => { switch (reason) {