Move some functions to Util, Bug Fixes, new stuff

This commit is contained in:
Dragon Fire
2020-03-13 22:59:22 -04:00
parent bf7579c4ac
commit 0edac3e86d
14 changed files with 99 additions and 92 deletions
+2 -1
View File
@@ -47,8 +47,9 @@ module.exports = class FrinkiacCommand extends Command {
}
}
url += `?b64lines=${base64(wrapped.join('\n'))}`;
const seasonEpisode = `S${data.Episode.Season}E${data.Episode.EpisodeNumber}`;
return msg.say(
`This is from **Season ${data.Episode.Season} Episode ${data.Episode.EpisodeNumber} @ ${time}**.`,
`This is from **${seasonEpisode} ("${data.Episode.Title}") @ ${time}**.`,
{ files: [url] }
);
} catch (err) {