description:"Add a nickname/alternate name to an anime",
syntax:'`animenick <anime>`',
extra:null
},
help:newDiscord.MessageEmbed()
.setTitle("Help -> Anime Nicknames")
.setDescription("Add a nickname or alternate name to an anime that it can later be found by.")
.addField("Notice","You'll first need to state the anime name, then I'll ask you for the alternate name you want to add. Don't send it in the same message as the command. It won't work.")
message.channel.send("This alternate name will be __submitted__ for reviewal.");
queue=true;
}
letch=awaitAniData.findOne({id:fn});
if(!ch.altNames){ch.altNames=[];}
letnn=awaitask(message,`What nickname would you like to add to ${ch.name}?`,60000,false,true);
if(!nn){return;}
if(ch.altNames.map(nickn=>nickn.toLowerCase()).includes(nn.toLowerCase())){returnmessage.channel.send(`Looks like **${ch.name}** already has the nickname "${nn}".`);}