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(!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.watched.includes(fn)){returnmessage.channel.send("Looks like that anime is already on your finished list!");}
if(af.watched.includes(fn)){returnmessage.channel.send("Looks like that anime is already on your finished list!");}
lettfc=awaitAniData.findOne({id:fn});
lettfc=awaitAniData.findOne({id:fn});
tfc.watchers+=1;
tfc.watchers+=1;
tfc.markModified('watchers');
tfc.markModified('watchers');
tfc.save();
af.watched.push(fn);
af.watched.push(fn);
af.markModified('watched');
af.markModified('watched');
letdw=false;
if(af.toWatch.includes(fn)){
af.toWatch.splice(af.toWatch.indexOf(fn),1);
af.markModified('toWatch');
tfc.listed--;
tfc.save();
dw=true;
}
af.save();
af.save();
returnmessage.channel.send(`I've added **${tfc.name}** to your list of finished animes!`);
tfc.save();
returnmessage.channel.send(`I've added **${tfc.name}** to your list of finished animes!${dw?" I've also removed it from your watch list for you :p":''}`);
returnmessage.channel.send(`I've added **${tfc.name}** to your list of finished animes!${dw?" I've also removed it from your watch list for you :p":''}`);
returnmessage.channel.send(`I've added **${tfc.name}** to your list of finished animes!${dw?" I've also removed it from your watch list for you :p":''}`);
if(af.toWatch.includes(fn)){returnmessage.channel.send("Looks like that anime is already on your watch list!");}
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...");}
if(af.watched.includes(fn)){returnmessage.channel.send("That anime is on your **watched** list already...");}
consttfc=awaitAniData.findOne({id:fn});
if(!tfc){returnmessage.channel.send("Huh... guess that anime just... vanished into thin air? I would go yell at my devs.");}
af.toWatch.push(fn);
af.toWatch.push(fn);
af.markModified('toWatch');
af.markModified('toWatch');
af.save();
af.save();
tfc.listed++;
tfc.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)]}`);
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)]}`);
if(!af.toWatch.includes(fn)){returnmessage.channel.send("Looks like that anime isn't on your watch list!");}
if(!af.toWatch.includes(fn)){returnmessage.channel.send("Looks like that anime isn't on your watch list!");}
consttfc=awaitAniData.findOne({id:fn});
if(!tfc){returnmessage.channel.send("Huh... guess that anime just... vanished into thin air? I would go yell at my devs.");}
af.toWatch.splice(af.toWatch.indexOf(fn),1);
af.toWatch.splice(af.toWatch.indexOf(fn),1);
af.markModified('toWatch');
af.markModified('toWatch');
af.save();
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.`);
tfc.listed--;
tfc.save();
returnmessage.channel.send(`${['Guess it wasn\'t worth the watch after all, huh?','Oof. Did you lose interest? Well, either way,','Got it, got it.','Okie dokie!'][Math.floor(Math.random()*4)]} I've removed **${client.misc.cache.animeID.get(fn)}** from your watch list.`);