summaryrefslogtreecommitdiff
path: root/responses.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-19 12:25:13 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-19 12:25:13 +0200
commitaf0a93a42799b8685f606d1b65fa1e587118abe3 (patch)
treee8413fac18536c7dcc7e497546370655015ef7f9 /responses.js
parent6f9173764a3c40bd252097d2029c82a0401a42ec (diff)
downloaddiscordbot-af0a93a42799b8685f606d1b65fa1e587118abe3.tar.gz
discordbot-af0a93a42799b8685f606d1b65fa1e587118abe3.zip
add favicons
Diffstat (limited to 'responses.js')
-rw-r--r--responses.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/responses.js b/responses.js
index e28af93..e798f97 100644
--- a/responses.js
+++ b/responses.js
@@ -25,14 +25,14 @@ function vainsocialEmbed(title, link) {
if (PREVIEW) {
embed
.setURL("https://preview.vainsocial.com/" + link)
- .setAuthor("VainSocial preview", null,
+ .setAuthor("VainSocial preview", "http://preview.vainsocial.com/images/brands/logo-blue.png",
"https://preview.vainsocial.com")
- .setFooter("VainSocial preview");
+ .setFooter("VainSocial preview", "http://preview.vainsocial.com/images/brands/logo-blue.png");
} else {
embed
.setURL("https://vainsocial.com/" + link)
- .setAuthor("VainSocial", null, "https://vainsocial.com")
- .setFooter("VainSocial");
+ .setAuthor("VainSocial", "http://vainsocial.com/images/brands/logo-blue.png", "https://vainsocial.com")
+ .setFooter("VainSocial", "http://vainsocial.com/images/brands/logo-blue.png");
}
return embed;
}