if(!options.name||!options.anime||!options.gender||!options.thumbnail){returnmessage.channel.send("You're missing an option! If you don't know what this means, just run this command without any text after it.");}
catch{returnmessage.channel.send("Looks like you didn't find the anime you were looking for, so I went ahead and ended the character creation for you.");}
else{returnmessage.channel.send("Looks like you didn't find the anime you were looking for, so I went ahead and ended the character creation for you.");}
}else{
awaitmessage.channel.send({embeds:[asr.embed]});
letconf=awaitask(message,"Is this the anime you meant?",60000,true);
if(!['y','yes','ye','n','no'].includes(conf.trim().toLowerCase())){returnmessage.channel.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.");}
fn=asr.id;
}
options.anime=fn;
}else{
if(client.misc.activeDMs.has(message.author.id)){returnmessage.channel.send("I'm already asking you questions in a DM! Finish that first, then try this command again.");}
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()
@ -155,8 +200,8 @@ module.exports = {
.setTimestamp();
try{
am=awaitdmch.send({embeds:[amEmbed]});
awaitam.react('👍');
awaitam.react('👎');
awaitam.react('👍').catch(()=>{});
awaitam.react('👎').catch(()=>{});
}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.");}