options.name=awaitask(mesg,"What is the anime's name?",60000,true);if(!options.name){return;}
options.name=awaitask(mesg,"What is the anime's name? Make sure to use proper capitalization and spelling. This applies to the rest of the questions I'll ask you.",60000,true);if(!options.name){return;}
if(options.name.length>75){clearDM();returndmch.send("The anime name can't be more than 75 characters!");}
options.plot=awaitask(mesg,"How would you describe the anime? Give a very brief description of things like its plot, main characters, and setting.",240000,true);if(!options.plot){returnclearDM();}
if(options.publishers.length>5){clearDM();returndmch.send("No way there were actually that many publishers...");}
options.airStartDate=awaitask(mesg,"When did the anime start?",120000,true);if(!options.airStartDate){returnclearDM();}
options.airEndDate=awaitask(mesg,"When did the anime end?",120000,true);if(!options.airStartDate){returnclearDM();}
options.airStartDate=awaitask(mesg,"When did the anime start? Please format this as \"Month Day, Year\" - e.g. January 1, 2021",120000,true);if(!options.airStartDate){returnclearDM();}
options.airEndDate=awaitask(mesg,"When did the anime end? If the anime never ended, you can say \"N/A\"",120000,true);if(!options.airEndDate){returnclearDM();}
options.lastUpdate=awaitask(mesg,"When was the last time a new episode was released for the anime?",120000,true);if(!options.lastUpdate){returnclearDM();}
options.isComplete=awaitask(mesg,"Is the anime completed? (If the most recent season has finished, you may only say \"no\" if the next season is *confirmed* by the *studio or publishers* or the next season is in the works.",60000,true);if(!options.isComplete){returnclearDM();}
if(!['y','yes','ye','n','no'].includes(options.isComplete.trim().toLowerCase())){clearDM();returndmch.send("You must specify yes or no! Please try again.");}
options.seasons=awaitask(mesg,"How many seasons does the anime have?",120000,true);if(!options.seasons){returnclearDM();}
options.seasons=awaitask(mesg,"How many seasons does the anime have? Please don't include spinoffs. (Gun Gale Online spinoff doesn't count as a Sword Art Online season.)",120000,true);if(!options.seasons){returnclearDM();}
if(isNaN(options.seasons)||Number(options.seasons<1)){clearDM();returndmch.send("You either didn't give a number, or it was < 1.");}
options.seasons=Number(options.seasons);
options.episodes=awaitask(mesg,"How many episodes does the anime have?",120000,true);if(!options.episodes){returnclearDM();}
options.episodes=awaitask(mesg,"How many episodes does the anime have? Try not to include OVAs or spinoffs, unless they're canon and widely considered by the community to be a part of the series.",120000,true);if(!options.episodes){returnclearDM();}
if(isNaN(options.episodes)||Number(options.episodes<1)){clearDM();returndmch.send("You either didn't give a number, or it was < 1.");}
options.episodes=Number(options.episodes);
options.genres=awaitask(mesg,"What genre(s) describe the anime? If there are multiple genres, please separate them with a comma.",120000,true);if(!options.genres){returnclearDM();}
if(options.genres.length>150){clearDM();returndmch.send("That's too many genres!");}
if(options.genres.length>200){clearDM();returndmch.send("That's too many genres!");}
options.genres=options.genres.split(/,\s+/gm);
if(options.genres.length>7){clearDM();returndmch.send("That's too many genres!");}
if(options.genres.length>10){clearDM();returndmch.send("That's too many genres!");}
options.tags=awaitask(mesg,"What tags describe the anime? Please separate tags with a comma, and *do not put the # in the tag!*.",120000,true);if(!options.tags){returnclearDM();}
if(options.tags.length>200){clearDM();returndmch.send("That's too many tags!");}
options.tags=options.tags.split(/,\s+/gm);
if(options.tags.length>25){clearDM();returndmch.send("That's too many tags!");}
if(options.tags.length>25){clearDM();returndmch.send("That's too many tags!");}*/
options.streamAt=awaitask(mesg,"What streaming services can you use to watch the anime? If there are multiple stream sites, please separate them with a comma. Please include only legal, licensed industries such as Netflix, Funimation, Crunchyroll, or Hulu. 9anime, cartooncrazy, and similar sites are illegal and won't be listed here.",120000,true);if(!options.streamAt){returnclearDM();}
options.streamAt=awaitask(mesg,"What streaming services can you use to watch the anime? If there are multiple stream sites, please separate them with a comma. Please include only legal, licensed industries such as Netflix, Funimation, Crunchyroll, or Hulu. 9anime, cartooncrazy, GoGoAnime, and similar sites are illegal and won't be listed here.",120000,true);if(!options.streamAt){returnclearDM();}
if(options.streamAt.length>150){clearDM();returndmch.send("No way there are actually that many streaming sites to watch the anime on...");}
if(options.streamAt.length>7){clearDM();returndmch.send("No way there are actually that many streaming sites to watch the anime on...");}
if(options.streamAt.length>8){clearDM();returndmch.send("No way there are actually that many streaming sites to watch the anime on...");}
options.thumbnail=awaitask(mesg,"Give me an image **URL** *do not upload the image* to use for the anime",120000,true);if(!options.thumbnail){returnclearDM();}
options.thumbnail=awaitask(mesg,"Give me an image to use for the anime. You may upload an image or send a URL to an image **that is hosted on Discord**. Please do not upload NSFW or copyrighted images.",120000,true);if(!options.thumbnail){returnclearDM();}
if(options.thumbnail.length>350){clearDM();returndmch.send("That URL is a bit too long. Consider uploading it to imgur or another image sharing site and trying again.");}
options.characters=[];
@ -273,8 +273,7 @@ module.exports = {
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("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(!aniData&&!forceAni){returndmch.send(":thinking: hmmm... something went wrong there. I couldn't find the anime you specified. Please contact my dev if the problem persists.");}
letamEmbed=newDiscord.MessageEmbed()
.setTitle(`New Character -> ${options.name}`)
.setDescription(`${queue?'Requested':'Added'} by ${message.author.tag}`)