mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 10:25:11 +02:00
Add company link to company command
This commit is contained in:
@@ -41,7 +41,7 @@ module.exports = class CompanyCommand extends Command {
|
|||||||
.setTitle(data.name)
|
.setTitle(data.name)
|
||||||
.setImage(data.logo)
|
.setImage(data.logo)
|
||||||
.setFooter('Logos provided by Clearbit')
|
.setFooter('Logos provided by Clearbit')
|
||||||
.setURL('https://clearbit.com/')
|
.setURL(data.domain ? `https://${data.domain}` : null)
|
||||||
.setColor(0x00AE86);
|
.setColor(0x00AE86);
|
||||||
return msg.embed(embed);
|
return msg.embed(embed);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
@@ -53,7 +53,8 @@ module.exports = class CompanyCommand extends Command {
|
|||||||
if (dragonFireAliases.includes(query.toLowerCase())) {
|
if (dragonFireAliases.includes(query.toLowerCase())) {
|
||||||
return {
|
return {
|
||||||
name: 'Dragon Fire',
|
name: 'Dragon Fire',
|
||||||
logo: 'https://i.imgur.com/tHxWaoA.png'
|
logo: 'https://i.imgur.com/tHxWaoA.png',
|
||||||
|
domain: null
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
const { body } = await request
|
const { body } = await request
|
||||||
|
|||||||
Reference in New Issue
Block a user