Skip to content
Snippets Groups Projects
Commit ab25465d authored by Reviath's avatar Reviath
Browse files

Added invite command

parent 5cc6bad2
Branches
No related tags found
No related merge requests found
const Discord = require('discord.js')
exports.run = async (client, message, args) => {
const embed = new Discord.MessageEmbed()
.setDescription(`[Click here to invite me](https://discordapp.com/oauth2/authorize?client_id=${client.user.id}&scope=bot&permissions=8)`)
.setAuthor(message.author.username, message.author.avatarURL())
.setColor('BLUE')
message.channel.send(embed)
};
module.exports.help = {
name: 'invite',
aliases: ['inv']
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment