Haha-Yes/commands/utility/invite.js

23 lines
698 B
JavaScript
Raw Normal View History

2018-12-30 01:20:24 +01:00
const { Command } = require('discord-akairo');
2018-12-25 19:17:07 +01:00
const { supportServer } = require('../../config.json');
2018-12-30 01:20:24 +01:00
class InviteCommand extends Command {
2019-01-02 08:09:45 +01:00
constructor() {
super('invite', {
aliases: ['invite'],
category: 'utility',
description: {
2018-12-30 01:20:24 +01:00
content: 'Send invite link for the bot and support server',
usage: '',
examples: ['']
}
2019-01-02 08:09:45 +01:00
});
}
2018-09-07 19:07:10 +02:00
2019-01-02 08:09:45 +01:00
async exec(message) {
message.channel.send('Check your dm')
return message.author.send(`You can add me from here: https://discordapp.com/oauth2/authorize?client_id=${this.client.user.id}&scope=bot&permissions=0\nYou can also join my support server over here: ${supportServer} come and say hi :)`);
}
2018-12-30 01:20:24 +01:00
}
module.exports = InviteCommand;