replace say with send

This commit is contained in:
loicbersier 2020-03-19 17:02:57 +01:00
parent a99ad3b83d
commit 9687948972

View file

@ -39,9 +39,9 @@ class KickCommand extends Command {
let reasons = args.reasons; let reasons = args.reasons;
if(member === this.client.user) if(member === this.client.user)
return message.channel.say('Cant kick me fool'); return message.channel.send('Cant kick me fool');
if(member.id === message.author.id) if(member.id === message.author.id)
return message.channel.say('Why would you kick yourself ?'); return message.channel.send('Why would you kick yourself ?');
if(!reasons) if(!reasons)
reasons = 'Nothing have been specified.'; reasons = 'Nothing have been specified.';