From 319df9c0d350803c3d8b164a8a6b3fd5822e808e Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Fri, 12 May 2017 21:20:18 +0000 Subject: [PATCH] Re-Add Logos --- commands/avataredit/beautiful.js | 2 +- commands/search/botinfo.js | 2 +- commands/search/forecast.js | 2 +- commands/search/imdb.js | 2 +- commands/search/osu.js | 2 +- commands/search/soundcloud.js | 2 +- commands/search/urban.js | 2 +- commands/search/wattpad.js | 2 +- commands/search/weather.js | 2 +- commands/search/wikipedia.js | 2 +- commands/search/youtube.js | 2 +- commands/search/yugioh.js | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/commands/avataredit/beautiful.js b/commands/avataredit/beautiful.js index 98e4cc82..c155496b 100644 --- a/commands/avataredit/beautiful.js +++ b/commands/avataredit/beautiful.js @@ -39,7 +39,7 @@ module.exports = class BeautifulCommand extends Command { const generate = () => { ctx.drawImage(base, 0, 0); ctx.drawImage(avatar, 341, 35, 117, 135); - ctx.drawImage(avatar, 342, 303, 117, 135); + ctx.drawImage(avatar, 343, 301, 117, 135); }; base.src = await fs.readFileAsync(path.join(__dirname, '..', '..', 'assets', 'images', 'beautiful.png')); const avatarImg = await request.get(avatarURL); diff --git a/commands/search/botinfo.js b/commands/search/botinfo.js index 63d0a5ce..d325b2e8 100644 --- a/commands/search/botinfo.js +++ b/commands/search/botinfo.js @@ -31,7 +31,7 @@ module.exports = class BotSearchCommand extends Command { .set({ 'Authorization': DISCORD_BOTS_KEY }); const embed = new RichEmbed() .setColor(0x9797FF) - .setAuthor('Discord Bots') + .setAuthor('Discord Bots', 'https://i.imgur.com/lrKYBQi.jpg') .setTitle(body.name) .setURL(`https://bots.discord.pw/bots/${bot.id}`) .setDescription(body.description) diff --git a/commands/search/forecast.js b/commands/search/forecast.js index 794dde9e..f502b85b 100644 --- a/commands/search/forecast.js +++ b/commands/search/forecast.js @@ -31,7 +31,7 @@ module.exports = class ForecastCommand extends Command { const forecasts = body.query.results.channel.item.forecast; const embed = new RichEmbed() .setColor(0x0000FF) - .setAuthor(body.query.results.channel.title) + .setAuthor(body.query.results.channel.title, 'https://i.imgur.com/2MT0ViC.png') .setURL(body.query.results.channel.link) .setTimestamp() .addField(`**${forecasts[0].day} - ${forecasts[0].date}:**`, diff --git a/commands/search/imdb.js b/commands/search/imdb.js index 73132251..4900e1c1 100644 --- a/commands/search/imdb.js +++ b/commands/search/imdb.js @@ -31,7 +31,7 @@ module.exports = class IMDBCommand extends Command { if (body.Error) throw new Error('No Results.'); const embed = new RichEmbed() .setColor(0xDBA628) - .setAuthor('IMDB') + .setAuthor('IMDB', 'https://i.imgur.com/sXwwIQs.png') .setURL(`http://www.imdb.com/title/${body.imdbID}`) .setTitle(`${body.Title} (${body.imdbRating} Score)`) .setDescription(body.Plot.substr(0, 2000)) diff --git a/commands/search/osu.js b/commands/search/osu.js index c9755b14..9a8c1737 100644 --- a/commands/search/osu.js +++ b/commands/search/osu.js @@ -32,7 +32,7 @@ module.exports = class OsuCommand extends Command { if (!body.length) throw new Error('No Results.'); const embed = new RichEmbed() .setColor(0xFF66AA) - .setAuthor('osu!') + .setAuthor('osu!', 'https://i.imgur.com/EmnUp00.png') .setURL('https://osu.ppy.sh/') .addField('**Username:**', body[0].username, true) diff --git a/commands/search/soundcloud.js b/commands/search/soundcloud.js index 0ae68b23..42657012 100644 --- a/commands/search/soundcloud.js +++ b/commands/search/soundcloud.js @@ -32,7 +32,7 @@ module.exports = class SoundCloudCommand extends Command { if (!body.length) throw new Error('No Results.'); const embed = new RichEmbed() .setColor(0xF15A22) - .setAuthor('SoundCloud') + .setAuthor('SoundCloud', 'https://i.imgur.com/lFIz7RU.png') .setTitle(body[0].title) .setURL(body[0].permalink_url) .setThumbnail(body[0].artwork_url) diff --git a/commands/search/urban.js b/commands/search/urban.js index 7511486b..5f94b431 100644 --- a/commands/search/urban.js +++ b/commands/search/urban.js @@ -31,7 +31,7 @@ module.exports = class UrbanCommand extends Command { if (!body.list.length) throw new Error('No Results.'); const embed = new RichEmbed() .setColor(0x32a8f0) - .setAuthor('Urban Dictionary') + .setAuthor('Urban Dictionary', 'https://i.imgur.com/fzFuuL7.png') .setURL(body.list[0].permalink) .setTitle(body.list[0].word) .setDescription(body.list[0].definition.substr(0, 2000)) diff --git a/commands/search/wattpad.js b/commands/search/wattpad.js index 8c698c59..99c6e971 100644 --- a/commands/search/wattpad.js +++ b/commands/search/wattpad.js @@ -33,7 +33,7 @@ module.exports = class WattpadCommand extends Command { if (!body.stories.length) throw new Error('No Results.'); const embed = new RichEmbed() .setColor(0xF89C34) - .setAuthor('Wattpad') + .setAuthor('Wattpad', 'https://i.imgur.com/Rw9vRQB.png') .setURL(body.stories[0].url) .setTitle(body.stories[0].title) .setDescription(body.stories[0].description.substr(0, 2000)) diff --git a/commands/search/weather.js b/commands/search/weather.js index a806ab3f..5cb75856 100644 --- a/commands/search/weather.js +++ b/commands/search/weather.js @@ -30,7 +30,7 @@ module.exports = class WeatherCommand extends Command { if (!body.query.count) throw new Error('Location Not Found.'); const embed = new RichEmbed() .setColor(0x0000FF) - .setAuthor(body.query.results.channel.title) + .setAuthor(body.query.results.channel.title, 'https://i.imgur.com/2MT0ViC.png') .setURL(body.query.results.channel.link) .setTimestamp() .addField('**City:**', diff --git a/commands/search/wikipedia.js b/commands/search/wikipedia.js index 36d610c1..60f0e0e2 100644 --- a/commands/search/wikipedia.js +++ b/commands/search/wikipedia.js @@ -33,7 +33,7 @@ module.exports = class WikipediaCommand extends Command { .setColor(0xE7E7E7) .setTitle(body.query.pages[0].title) .setURL(`https://en.wikipedia.org/wiki/${query}`) - .setAuthor('Wikipedia') + .setAuthor('Wikipedia', 'https://i.imgur.com/a4eeEhh.png') .setDescription(body.query.pages[0].extract.substr(0, 2000).replace(/[\n]/g, '\n\n')); return msg.embed(embed); } catch (err) { diff --git a/commands/search/youtube.js b/commands/search/youtube.js index 30b662af..33257d1e 100644 --- a/commands/search/youtube.js +++ b/commands/search/youtube.js @@ -34,7 +34,7 @@ module.exports = class YouTubeCommand extends Command { .setColor(0xDD2825) .setTitle(body.items[0].snippet.title) .setDescription(body.items[0].snippet.description) - .setAuthor(`YouTube - ${body.items[0].snippet.channelTitle}`) + .setAuthor(`YouTube - ${body.items[0].snippet.channelTitle}`, 'https://i.imgur.com/hkUafwu.png') .setURL(`https://www.youtube.com/watch?v=${body.items[0].id.videoId}`) .setThumbnail(body.items[0].snippet.thumbnails.default.url); return msg.embed(embed); diff --git a/commands/search/yugioh.js b/commands/search/yugioh.js index 56057433..89a92375 100644 --- a/commands/search/yugioh.js +++ b/commands/search/yugioh.js @@ -34,7 +34,7 @@ module.exports = class YuGiOhCommand extends Command { .setColor(0xBE5F1F) .setTitle(body.data.name) .setDescription(body.data.text) - .setAuthor('Yu-Gi-Oh!') + .setAuthor('Yu-Gi-Oh!', 'https://i.imgur.com/7gPm9Rr.png') .addField('**Card Type:**', body.data.card_type, true) .addField('**Type:**',