Clean-up some stray things

This commit is contained in:
Daniel Odendahl Jr
2017-03-24 04:18:23 +00:00
parent f9c6c8164f
commit 2dcd6ce5eb
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ module.exports = class MemeCommand extends commando.Command {
console.log(`[Command] ${message.content}`);
let [type] = message.content.toLowerCase().split(" ").slice(1);
if (type === "list") {
let listMsg = await message.channel.send("**Type Codes:** tenguy, afraid, older, aag, tried, biw, blb, kermit, bd, ch, cbg, wonka, cb, keanu, dsm, live, ants, doge, alwaysonbeat, ermg, facepalm, fwp, fa, fbf, fry, hipster, icanhas, crazypills, mw, noidea, regret, boat, hagrid, sohappy, captain, inigo, iw, ackbar, happening, joker, ive, ll, morpheus, mb, badchoice, mmm, jetpack, red, mordor, oprah, oag, remembers, philosoraptor, jw, patrick, rollsafe, sad-obama, sad-clinton, sadfrog, sad-bush, sad-biden, sad-boehner, saltbae, sarcasticbear, dwight, sb, ss, sf, dodgson, money, sohot, nice, awesome-awkward, awesome, awkward-awesome, awkward, fetch, success, scc, ski, officespace, interesting, toohigh, bs, center, both, winter, xy, buzz, yodawg, uno, yallgot, bad, elf, chosen");
message.channel.send("**Type Codes:** tenguy, afraid, older, aag, tried, biw, blb, kermit, bd, ch, cbg, wonka, cb, keanu, dsm, live, ants, doge, alwaysonbeat, ermg, facepalm, fwp, fa, fbf, fry, hipster, icanhas, crazypills, mw, noidea, regret, boat, hagrid, sohappy, captain, inigo, iw, ackbar, happening, joker, ive, ll, morpheus, mb, badchoice, mmm, jetpack, red, mordor, oprah, oag, remembers, philosoraptor, jw, patrick, rollsafe, sad-obama, sad-clinton, sadfrog, sad-bush, sad-biden, sad-boehner, saltbae, sarcasticbear, dwight, sb, ss, sf, dodgson, money, sohot, nice, awesome-awkward, awesome, awkward-awesome, awkward, fetch, success, scc, ski, officespace, interesting, toohigh, bs, center, both, winter, xy, buzz, yodawg, uno, yallgot, bad, elf, chosen");
}
else if (message.content.includes(" | ")) {
if (message.content.split(" ").slice(1).join(" ").match(/^[a-zA-Z0-9|.,!?'-\s]+$/)) {
+2 -2
View File
@@ -34,9 +34,9 @@ module.exports = class TodayCommand extends commando.Command {
const embed = new Discord.RichEmbed()
.setColor(0x9797FF)
.setURL(responseData.url)
.setTitle('On this day (' + responseData.date + ')...')
.setTitle(`On this day (${responseData.date})...`)
.setTimestamp()
.setDescription(responseData.data.Events[randomNumber].text + ' (' + responseData.data.Events[randomNumber].year + ')');
.setDescription(`${responseData.data.Events[randomNumber].text} (${responseData.data.Events[randomNumber].year})`);
message.channel.sendEmbed(embed);
}
catch (err) {
+1 -1
View File
@@ -38,7 +38,7 @@ module.exports = class IMDBCommand extends commando.Command {
.setColor(0xDBA628)
.setAuthor('IMDB', 'http://static.wixstatic.com/media/c65cbf_31901b544fe24f1890134553bf40c8be.png')
.setURL(movie.imdburl)
.setTitle(movie.title + ' (' + movie.rating + ' Score)')
.setTitle(`${movie.title} (${movie.rating} Score)`)
.setDescription(`${movie.plot.substr(0, 1500)} [Read the Rest Here!](${movie.imdburl})`)
.addField('**Genres:**',
movie.genres)