Skip to content

Commit

Permalink
Update send.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtanisTheOne committed Jan 22, 2021
1 parent fe6b156 commit d1c783c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/send.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ module.exports = function(data)
const ignoreMessageEmbed = new discord.RichEmbed()
.setColor(colors.get(data.color))
.setTitle("**Bot Alert**\n")
.setAuthor(data.bot.username, data.bot.displayAvatarURL || data.bot.icon_url || "https://ritabot.org/index/images/favicon.png")
.setAuthor(data.bot.username, data.bot.icon_url || "https://ritabot.org/index/images/favicon.png")
.setDescription(data.text)
.setTimestamp()
.setFooter("๐—•๐—ผ๐˜๐—ต ๐—บ๐—ฒ๐˜€๐˜€๐—ฎ๐—ด๐—ฒ๐˜€ ๐˜„๐—ถ๐—น๐—น ๐˜€๐—ฒ๐—น๐—ณ-๐—ฑ๐—ฒ๐˜€๐˜๐—ฟ๐˜‚๐—ฐ๐˜ ๐—ถ๐—ป 10 ๐˜€๐—ฒ๐—ฐ๐—ผ๐—ป๐—ฑ๐˜€");
Expand Down Expand Up @@ -481,7 +481,7 @@ const embedOff = function(data)

if (!existingWebhook)
{
channel.createWebhook(webHookName, data.bot.displayAvatarURL)
channel.createWebhook(webHookName, data.bot.icon_url || "https://ritabot.org/index/images/favicon.png")
.then(newWebhook =>
{
// Finally send the webhook
Expand Down

0 comments on commit d1c783c

Please sign in to comment.