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