description:"Add anime to your list of animes you want to watch",
syntax:'`watchlist <view|add|remove>`',
extra:null
},
help:newDiscord.MessageEmbed()
.setTitle("Help -> WatchList")
.setDescription("Add anime to your watchlist (not to be confused with \"watchedlist\"; this is your list of anime you want to watch but haven't yet. You can view your list or anothers' list as well.)")
.addField("Removal from List","If you're removing an item from your list because you've *seen* the anime, please run the `watched` command instead. It will automatically remove the anime from your watchlist and place it in your watchedlist.")
if(!af||!af.toWatch.length){returnmessage.channel.send(`${user.id===message.author.id?"You don't":"That person doesn't"} have any watchlisted anime.`);}
if(!conf){returnmessage.channel.send("Well, I've got nothing, then. If that doesn't match the anime you're looking for then I would try again with a more narrow search.");}
if(af.toWatch.includes(fn)){returnmessage.channel.send("Looks like that anime is already on your watch list!");}
if(af.watched.includes(fn)){returnmessage.channel.send("That anime is on your **watched** list already...");}
af.toWatch.push(fn);
af.markModified('toWatch');
af.save();
returnmessage.channel.send(`I've added **${client.misc.cache.animeID.get(fn)}** to your watch list! ${[`Let me know if it's any good when you get around to it :3`,`Hope it's good!`,'Try not to wait *too* long before you watch it.',`I've heard good things about that one.`][Math.floor(Math.random()*4)]}`);
letconf=awaitask(message,"Real quick, before anything else, I have to ask: are you trying to remove an anime from your watch list because you've now watched it?",60000);
if(!['y','yes','ye','n','no'].includes(conf.trim().toLowerCase())){clearDM();returndmch.send("You must specify yes or no! Please try again.");}
if(conf){returnmessage.channel.send(`Good thing I asked then :brain: Please instead use the \`${prefix}watched\` command to handle removing the anime from your watch list.`);}
args.shift();
if(!args[0]){
lettempchar=awaitask(message,"What anime would you like to remove from your watch list?",60000,false,true);
if(!conf){returnmessage.channel.send("Well, I've got nothing, then. If that doesn't match the anime you're looking for then I would try again with a more narrow search.");}
if(!af.toWatch.includes(fn)){returnmessage.channel.send("Looks like that anime isn't on your watch list!");}
af.toWatch.splice(af.toWatch.indexOf(fn),1);
af.markModified('toWatch');
af.save();
returnmessage.channel.send(`${['Guess it wasn\'t worth the watch after all, huh?','Oof. Did you lose interest?','Got it, got it.','Okie dokie!'][Math.floor(Math.random()*4)]} I've removed **${client.misc.cache.animeID.get(fn)}** from your watch list.`);