forked from Supositware/Haha-Yes
Vote for the bot !
This commit is contained in:
parent
9b79f652d3
commit
64816b2f0d
1 changed files with 28 additions and 0 deletions
28
commands/thing/updoot.js
Normal file
28
commands/thing/updoot.js
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
const { Command } = require('discord.js-commando');
|
||||||
|
module.exports = class UpDootCommand extends Command {
|
||||||
|
constructor(client) {
|
||||||
|
super(client, {
|
||||||
|
name: 'updoot',
|
||||||
|
aliases: 'vote',
|
||||||
|
group: 'thing',
|
||||||
|
memberName: 'updoot',
|
||||||
|
description: 'Send link to updoot my bot :D.',
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
run(message) {
|
||||||
|
const upDoot = {
|
||||||
|
color: 0x93C54B,
|
||||||
|
title: 'Vote for my bot',
|
||||||
|
url: 'https://discordbots.org/bot/377563711927484418/vote',
|
||||||
|
description: 'You can vote for my bot if you think the bot is awesome!',
|
||||||
|
timestamp: new Date(),
|
||||||
|
footer: {
|
||||||
|
text: 'Thanks for the updoots',
|
||||||
|
icon_url: 'https://cdn.discordapp.com/avatars/377563711927484418/1335d202aa466dbeaa4ed2e4b616484a.png?size=2048',
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
message.channel.send({ embed: upDoot });
|
||||||
|
}
|
||||||
|
};
|
Loading…
Reference in a new issue