Haha-Yes/commands/utility/invite.js

16 lines
644 B
JavaScript
Raw Normal View History

2018-09-07 19:07:10 +02:00
const { Command } = require('discord.js-commando');
2018-09-22 19:52:10 +02:00
const { supportServer } = require('../../config.json')
2018-09-07 19:07:10 +02:00
module.exports = class InviteCommand extends Command {
constructor(client) {
super(client, {
name: 'invite',
2018-09-17 17:02:39 +02:00
group: 'utility',
2018-09-07 19:07:10 +02:00
memberName: 'invite',
description: 'Send invite to add the bot',
});
}
2018-09-09 21:32:08 +02:00
async run(message) {
2018-09-22 19:52:10 +02:00
return message.say(`You can add me from here: https://discordapp.com/oauth2/authorize?client_id=${this.client.user.id}&scope=bot&permissions=0\nYou can join my support server over here: ${supportServer} come and say hi :)`);
2018-09-07 19:07:10 +02:00
}
};