Re-Add Logos

This commit is contained in:
Daniel Odendahl Jr
2017-05-12 21:20:18 +00:00
parent 34d61f77f9
commit 319df9c0d3
12 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ module.exports = class BeautifulCommand extends Command {
const generate = () => { const generate = () => {
ctx.drawImage(base, 0, 0); ctx.drawImage(base, 0, 0);
ctx.drawImage(avatar, 341, 35, 117, 135); 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')); base.src = await fs.readFileAsync(path.join(__dirname, '..', '..', 'assets', 'images', 'beautiful.png'));
const avatarImg = await request.get(avatarURL); const avatarImg = await request.get(avatarURL);
+1 -1
View File
@@ -31,7 +31,7 @@ module.exports = class BotSearchCommand extends Command {
.set({ 'Authorization': DISCORD_BOTS_KEY }); .set({ 'Authorization': DISCORD_BOTS_KEY });
const embed = new RichEmbed() const embed = new RichEmbed()
.setColor(0x9797FF) .setColor(0x9797FF)
.setAuthor('Discord Bots') .setAuthor('Discord Bots', 'https://i.imgur.com/lrKYBQi.jpg')
.setTitle(body.name) .setTitle(body.name)
.setURL(`https://bots.discord.pw/bots/${bot.id}`) .setURL(`https://bots.discord.pw/bots/${bot.id}`)
.setDescription(body.description) .setDescription(body.description)
+1 -1
View File
@@ -31,7 +31,7 @@ module.exports = class ForecastCommand extends Command {
const forecasts = body.query.results.channel.item.forecast; const forecasts = body.query.results.channel.item.forecast;
const embed = new RichEmbed() const embed = new RichEmbed()
.setColor(0x0000FF) .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) .setURL(body.query.results.channel.link)
.setTimestamp() .setTimestamp()
.addField(`**${forecasts[0].day} - ${forecasts[0].date}:**`, .addField(`**${forecasts[0].day} - ${forecasts[0].date}:**`,
+1 -1
View File
@@ -31,7 +31,7 @@ module.exports = class IMDBCommand extends Command {
if (body.Error) throw new Error('No Results.'); if (body.Error) throw new Error('No Results.');
const embed = new RichEmbed() const embed = new RichEmbed()
.setColor(0xDBA628) .setColor(0xDBA628)
.setAuthor('IMDB') .setAuthor('IMDB', 'https://i.imgur.com/sXwwIQs.png')
.setURL(`http://www.imdb.com/title/${body.imdbID}`) .setURL(`http://www.imdb.com/title/${body.imdbID}`)
.setTitle(`${body.Title} (${body.imdbRating} Score)`) .setTitle(`${body.Title} (${body.imdbRating} Score)`)
.setDescription(body.Plot.substr(0, 2000)) .setDescription(body.Plot.substr(0, 2000))
+1 -1
View File
@@ -32,7 +32,7 @@ module.exports = class OsuCommand extends Command {
if (!body.length) throw new Error('No Results.'); if (!body.length) throw new Error('No Results.');
const embed = new RichEmbed() const embed = new RichEmbed()
.setColor(0xFF66AA) .setColor(0xFF66AA)
.setAuthor('osu!') .setAuthor('osu!', 'https://i.imgur.com/EmnUp00.png')
.setURL('https://osu.ppy.sh/') .setURL('https://osu.ppy.sh/')
.addField('**Username:**', .addField('**Username:**',
body[0].username, true) body[0].username, true)
+1 -1
View File
@@ -32,7 +32,7 @@ module.exports = class SoundCloudCommand extends Command {
if (!body.length) throw new Error('No Results.'); if (!body.length) throw new Error('No Results.');
const embed = new RichEmbed() const embed = new RichEmbed()
.setColor(0xF15A22) .setColor(0xF15A22)
.setAuthor('SoundCloud') .setAuthor('SoundCloud', 'https://i.imgur.com/lFIz7RU.png')
.setTitle(body[0].title) .setTitle(body[0].title)
.setURL(body[0].permalink_url) .setURL(body[0].permalink_url)
.setThumbnail(body[0].artwork_url) .setThumbnail(body[0].artwork_url)
+1 -1
View File
@@ -31,7 +31,7 @@ module.exports = class UrbanCommand extends Command {
if (!body.list.length) throw new Error('No Results.'); if (!body.list.length) throw new Error('No Results.');
const embed = new RichEmbed() const embed = new RichEmbed()
.setColor(0x32a8f0) .setColor(0x32a8f0)
.setAuthor('Urban Dictionary') .setAuthor('Urban Dictionary', 'https://i.imgur.com/fzFuuL7.png')
.setURL(body.list[0].permalink) .setURL(body.list[0].permalink)
.setTitle(body.list[0].word) .setTitle(body.list[0].word)
.setDescription(body.list[0].definition.substr(0, 2000)) .setDescription(body.list[0].definition.substr(0, 2000))
+1 -1
View File
@@ -33,7 +33,7 @@ module.exports = class WattpadCommand extends Command {
if (!body.stories.length) throw new Error('No Results.'); if (!body.stories.length) throw new Error('No Results.');
const embed = new RichEmbed() const embed = new RichEmbed()
.setColor(0xF89C34) .setColor(0xF89C34)
.setAuthor('Wattpad') .setAuthor('Wattpad', 'https://i.imgur.com/Rw9vRQB.png')
.setURL(body.stories[0].url) .setURL(body.stories[0].url)
.setTitle(body.stories[0].title) .setTitle(body.stories[0].title)
.setDescription(body.stories[0].description.substr(0, 2000)) .setDescription(body.stories[0].description.substr(0, 2000))
+1 -1
View File
@@ -30,7 +30,7 @@ module.exports = class WeatherCommand extends Command {
if (!body.query.count) throw new Error('Location Not Found.'); if (!body.query.count) throw new Error('Location Not Found.');
const embed = new RichEmbed() const embed = new RichEmbed()
.setColor(0x0000FF) .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) .setURL(body.query.results.channel.link)
.setTimestamp() .setTimestamp()
.addField('**City:**', .addField('**City:**',
+1 -1
View File
@@ -33,7 +33,7 @@ module.exports = class WikipediaCommand extends Command {
.setColor(0xE7E7E7) .setColor(0xE7E7E7)
.setTitle(body.query.pages[0].title) .setTitle(body.query.pages[0].title)
.setURL(`https://en.wikipedia.org/wiki/${query}`) .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')); .setDescription(body.query.pages[0].extract.substr(0, 2000).replace(/[\n]/g, '\n\n'));
return msg.embed(embed); return msg.embed(embed);
} catch (err) { } catch (err) {
+1 -1
View File
@@ -34,7 +34,7 @@ module.exports = class YouTubeCommand extends Command {
.setColor(0xDD2825) .setColor(0xDD2825)
.setTitle(body.items[0].snippet.title) .setTitle(body.items[0].snippet.title)
.setDescription(body.items[0].snippet.description) .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}`) .setURL(`https://www.youtube.com/watch?v=${body.items[0].id.videoId}`)
.setThumbnail(body.items[0].snippet.thumbnails.default.url); .setThumbnail(body.items[0].snippet.thumbnails.default.url);
return msg.embed(embed); return msg.embed(embed);
+1 -1
View File
@@ -34,7 +34,7 @@ module.exports = class YuGiOhCommand extends Command {
.setColor(0xBE5F1F) .setColor(0xBE5F1F)
.setTitle(body.data.name) .setTitle(body.data.name)
.setDescription(body.data.text) .setDescription(body.data.text)
.setAuthor('Yu-Gi-Oh!') .setAuthor('Yu-Gi-Oh!', 'https://i.imgur.com/7gPm9Rr.png')
.addField('**Card Type:**', .addField('**Card Type:**',
body.data.card_type, true) body.data.card_type, true)
.addField('**Type:**', .addField('**Type:**',