This commit is contained in:
Dragon Fire
2021-01-12 21:57:19 -05:00
parent cb7668101c
commit 84dbb2fe51
+1 -1
View File
@@ -43,7 +43,7 @@ module.exports = class AnilistCommand extends Command {
try {
const data = await this.search(query);
if (!data || !data.id || !data.name) return msg.say('Could not find any results.');
return msg.say(`https://anilist.co/user/${data.name}`, {
return msg.say(`<https://anilist.co/user/${data.name}>`, {
files: [{ attachment: `https://img.anili.st/user/${data.id}`, name: 'anilist.png' }]
});
} catch (err) {