1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Haha-Yes/commands/utility/supportme.js

19 lines
722 B
JavaScript

const { Command } = require('discord.js-commando');
const blacklist = require('../../json/blacklist.json')
module.exports = class supportMeCommand extends Command {
constructor(client) {
super(client, {
name: 'supportme',
group: 'utility',
memberName: 'supportme',
description: `Support me and my bot`,
});
}
async run(message, { text }) {
if(blacklist[message.author.id])
return message.channel.send("You are blacklisted")
message.say('If you want to support me and my bot you can donate here\nhttps://donatebot.io/checkout/487640086859743232\n(This is totally optionnal dont feel forced to do it)');
}
};