@ -53,10 +53,12 @@ class addDonatorCommand extends Command {
if(messageContent=='y'||messageContent=='yes'){
if(messageContent=='y'||messageContent=='yes'){
constbody={comment:userComment};
constbody={comment:userComment};
donator.update(body,{where:{userID:args.id}});
donator.update(body,{where:{userID:args.id}});
if(userComment==null){
console.log(userComment);
if(userComment==''){
returnmessage.channel.send(`Removed the comment from ${this.client.users.get(args.id).username}#${this.client.users.get(args.id).discriminator} (${args.id})`);
returnmessage.channel.send(`Removed the comment from ${this.client.users.get(args.id).username}#${this.client.users.get(args.id).discriminator} (${args.id})`);
}else{
returnmessage.channel.send(`You edited the comment for ${this.client.users.get(args.id).username}#${this.client.users.get(args.id).discriminator} (${args.id}) with ${args.userComment}`);
}
}
returnmessage.channel.send(`You edited the comment for ${this.client.users.get(args.id).username}#${this.client.users.get(args.id).discriminator} (${args.id}) with ${args.userComment}`);