mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 08:12:04 +02:00
Fix
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user