From 07f193e23780f255014a221e81fe68d26b1d5cb9 Mon Sep 17 00:00:00 2001 From: Rasmus Gerdin Date: Tue, 23 Jun 2020 16:23:19 +0200 Subject: [PATCH] switching over from imgur URLs --- src/commands/User/discordstatus.js | 6 +++--- src/commands/User/wiki.js | 4 ++-- src/events/twitchStreamerLive.js | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/commands/User/discordstatus.js b/src/commands/User/discordstatus.js index 7f83d1ed..90cb902e 100644 --- a/src/commands/User/discordstatus.js +++ b/src/commands/User/discordstatus.js @@ -22,14 +22,14 @@ module.exports = class extends Command { .then(json => { const embed = new MessageEmbed() .setDescription(`[${msg.language.get('COMMAND_DISCORDSTATUS_LINK')}](${json.page.url})`) - .setThumbnail('https://i.imgur.com/3Xw9JWs.png') + .setThumbnail('https://cdn.discordapp.com/embed/avatars/1.png') .setTimestamp() .setFooter(msg.language.get('COMMAND_REQUESTED_BY', msg), msg.author.displayAvatarURL()); if (json.incidents.length === 0) { embed.setTitle(msg.language.get('COMMAND_DISCORDSTATUS_ALLOK')) .setColor(this.client.settings.get('colors.green')) - // eslint-disable-next-line max-len + .setThumbnail('https://cdn.discordapp.com/embed/avatars/2.png') .addField(msg.language.get('COMMAND_DISCORDSTATUS_LASTUPDATE'), timezone(json.page.updated_at, msg.guild)); } @@ -38,7 +38,7 @@ module.exports = class extends Command { embed.setTitle(msg.language.get('COMMAND_DISCORDSTATUS_INCIDENT')) .setDescription(`[${msg.language.get('COMMAND_DISCORDSTATUS_INCIDENT_LINK')}](https://status.discordapp.com/incidents/${incident.incident_id}/)`) .setColor(this.client.settings.get('colors.yellow')) - // eslint-disable-next-line max-len + .setThumbnail('https://cdn.discordapp.com/embed/avatars/3.png') .addField(msg.language.get('COMMAND_DISCORDSTATUS_INCIDENT_TSTAMP'), timezone(incident.created_at, msg.guild)) .addField(msg.language.get('COMMAND_DISCORDSTATUS_INCIDENT_UPDATES'), incident.incident_updates[0].body); } diff --git a/src/commands/User/wiki.js b/src/commands/User/wiki.js index 5e16dea0..c3cea905 100644 --- a/src/commands/User/wiki.js +++ b/src/commands/User/wiki.js @@ -22,13 +22,13 @@ module.exports = class extends Command { .then(response => response.json()) .then(json => { const embed = new MessageEmbed() - .setAuthor(msg.language.get('COMMAND_WIKI_WIKIPEDIA'), 'https://i.imgur.com/fnhlGh5.png') + .setAuthor(msg.language.get('COMMAND_WIKI_WIKIPEDIA'), 'https://www.wikipedia.org/portal/wikipedia.org/assets/img/Wikipedia-logo-v2.png') .setColor(this.client.settings.get('colors.white')) .setTitle(json.title) .setDescription(`[${msg.language.get('COMMAND_WIKI_LINK')}](${json.content_urls.desktop.page})`) .addField(msg.language.get('COMMAND_WIKI_EMBED_DESC'), `${json.description}.`) .addField(msg.language.get('COMMAND_WIKI_EMBED_INFO'), json.extract) - .setThumbnail((json.thumbnail && json.thumbnail.source) || 'https://i.imgur.com/fnhlGh5.png') + .setThumbnail((json.thumbnail && json.thumbnail.source) || 'https://www.wikipedia.org/portal/wikipedia.org/assets/img/Wikipedia-logo-v2.png') .setTimestamp() .setFooter(msg.language.get('COMMAND_REQUESTED_BY', msg), msg.author.displayAvatarURL()); return msg.send(embed); diff --git a/src/events/twitchStreamerLive.js b/src/events/twitchStreamerLive.js index 638d7e3d..7fa02c75 100644 --- a/src/events/twitchStreamerLive.js +++ b/src/events/twitchStreamerLive.js @@ -17,7 +17,7 @@ module.exports = class extends Event { async announceStream(guild, streamer, streamerPic, streamTitle, streamThumbnail, streamViewers, startedAt) { const embed = new MessageEmbed() - .setAuthor(streamer, 'https://i.imgur.com/8uLz7KW.png') + .setAuthor(streamer, 'https://rtbyte.xyz/src/img/assets/liveIcon.png') .setColor(this.client.settings.get('colors.purple')) .setTitle(streamTitle) .setDescription(guild.language.get('NOTIFICATION_TWITCH_LINK', streamer)) @@ -25,7 +25,7 @@ module.exports = class extends Event { .addField(guild.language.get('NOTIFICATION_TWITCH_VIEWERS'), streamViewers) .setImage(streamThumbnail) .setTimestamp(startedAt) - .setFooter('twitch.tv', 'https://i.imgur.com/haYO7V0.png'); + .setFooter('twitch.tv', 'https://rtbyte.xyz/src/img/assets/twitchLogo.png'); // Unused for now /* const role = await guild.roles.get(guild.settings.get('twitch.twitchNotifsRole')); */ const channel = await this.client.channels.get(guild.settings.get('twitch.twitchNotifsChannel'));