.addField('Length',`**# of Seasons:** ${options.seasons}\n**# of Episodes:** ${options.episodes}`)
.addField('Length',`**# of Seasons:** ${options.seasons}\n**# of Episodes:** ${options.episodes}`)
.addField('Airing',`**Began:** ${options.airStartDate}\n**Ended:** ${options.isComplete?options.airEndDate:'This anime is still airing!'}`)
.addField('Airing',`**Began:** ${options.airStartDate}\n**Ended:** ${options.isComplete?options.airEndDate:'This anime is still airing!'}`)
.addField('Other',`**Genre(s):** ${foptions.genres}\n**Tags:** ${foptions.tags}\n**Characters:** ${foptions.characters}\n**Stream this at:** ${foptions.streamAt}`)
.addField('Other',`**Genre(s):** ${foptions.genres.join(", ")}\n**Tags:** ${foptions.tags.join(", ")}\n**Characters:** ${foptions.characters}\n**Stream this at:** ${foptions.streamAt}`)
.setColor("c375f0")
.setColor("c375f0")
.setImage(options.thumbnail)
.setImage(options.thumbnail)
.setFooter('Natsuki',client.user.avatarURL())
.setFooter('Natsuki',client.user.avatarURL())
.setTimestamp();
.setTimestamp();
try{
try{
am=awaitmessage.channel.send({embeds:[amEmbed]});
am=awaitdmch.send({embeds:[amEmbed]});
awaitam.react('👍');
awaitam.react('👍');
awaitam.react('👎');
awaitam.react('👎');
}catch{returnmessage.channel.send(":thinking: hmmm... something went wrong there. I might not have permissions to add reactions to messages, and this could be the issue.");}
}catch{returndmch.send(":thinking: hmmm... something went wrong there. I might not have permissions to add reactions to messages, and this could be the issue.");}
rc.on("end",collected=>{if(!collected.size){returnmessage.author.send("Looks like you ran out of time! Try again?");}});
rc.on("end",collected=>{if(!collected.size){returnmessage.author.send("Looks like you ran out of time! Try again?");}});
}catch{returnmessage.channel.send("Hmm... there was some kind of error when I tried to submit that anime. Try again, and if it keeps not working, then go yell at my devs!");}
}catch{returnmessage.author.send("Hmm... there was some kind of error when I tried to submit that anime. Try again, and if it keeps not working, then go yell at my devs!");}
options.name=awaitask(mesg,"What is the character's name?",60000,true);if(!options.name){return;}
options.name=awaitask(mesg,"What is the character's name?",60000,true);if(!options.name){return;}
if(options.name.length>75){clearDM();returndmch.send("The character name can't be more than 75 characters!");}
if(options.name.length>75){clearDM();returndmch.send("The character name can't be more than 75 characters!");}
options.anime=awaitask(mesg,"What anime (or game) did the character appear in? If the character is an OC, say 'none'",6000,true);if(!options.anime){return;}
options.anime=awaitask(mesg,"What anime (or game) did the character appear in? If the character is an OC, say 'none'",60000,true);if(!options.anime){return;}
if(options.anime.length>75){clearDM();returndmch.send("The anime name can't be more than 75 characters!");}
if(options.anime.length>75){clearDM();returndmch.send("The anime name can't be more than 75 characters!");}
letconf=awaitask(mesg,"That search returned no results. Would you like me to put the anime you specified down anyways? Otherwise, I'll abandon this process, and we can try again.",60000,true);
letconf=awaitask(mesg,"Is this the anime you meant?");
if(!['y','yes','ye','n','no'].includes(conf.trim().toLowerCase())){clearDM();returndmch.send("You must specify yes or no! Please try again.");}
if(!['y','yes','ye','n','no'].includes(conf.trim().toLowerCase())){clearDM();returndmch.send("You must specify yes or no! Please try again.");}
if(!conf){returnmesg.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){returnmesg.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.");}
}catch{returnmessage.channel.send(":thinking: hmmm... something went wrong there. I might not have permissions to add reactions to messages, and this could be the issue.");}
}catch{returndmch.send(":thinking: hmmm... something went wrong there. I might not have permissions to add reactions to messages, and this could be the issue.");}
rc.on("end",collected=>{if(!collected.size){returnmessage.author.send("Looks like you ran out of time! Try again?");}});
rc.on("end",collected=>{if(!collected.size){returnmessage.author.send("Looks like you ran out of time! Try again?");}});
}catch{returnmessage.channel.send("Hmm... there was some kind of error when I tried to submit that character. Try again, and if it keeps not working, then go yell at my devs!");}
}catch{returnmessage.author.send("Hmm... there was some kind of error when I tried to submit that character. Try again, and if it keeps not working, then go yell at my devs!");}