|
|
|
@ -83,7 +83,7 @@ module.exports = { |
|
|
|
|
let asr = await ans(message, client, options.anime.trim().toLowerCase(), undefined, 0); |
|
|
|
|
if (asr === 0) {return message.channel.send("That search returned no results! Try remaking the character?");} |
|
|
|
|
else if (asr instanceof Pagination) { |
|
|
|
|
await asr.start({user: message.author.id, startPage: 1, endTime: 60000}); |
|
|
|
|
await asr.start({user: message.author.id, startPage: 0, endTime: 60000}); |
|
|
|
|
await asr.message.react('✅'); |
|
|
|
|
await message.channel.send("React with :white_check_mark: when you've found the anime you want!"); |
|
|
|
|
let arc; |
|
|
|
@ -129,7 +129,7 @@ module.exports = { |
|
|
|
|
fn = options.anime; |
|
|
|
|
} |
|
|
|
|
} else if (asr instanceof Pagination) { |
|
|
|
|
await asr.start({user: message.author.id, startPage: 1, endTime: 60000}); |
|
|
|
|
await asr.start({user: message.author.id, startPage: 0, endTime: 60000}); |
|
|
|
|
await asr.message.react('✅'); |
|
|
|
|
await dmch.send("React with :white_check_mark: when you've found the anime you want!"); |
|
|
|
|
let arc; |
|
|
|
@ -256,7 +256,7 @@ module.exports = { |
|
|
|
|
if (asr === 0) { |
|
|
|
|
return message.channel.send("That search returned no results! Try again?"); |
|
|
|
|
} else if (asr instanceof Pagination) { |
|
|
|
|
await asr.start({user: message.author.id, startPage: 1, endTime: 60000}); |
|
|
|
|
await asr.start({user: message.author.id, startPage: 0, endTime: 60000}); |
|
|
|
|
} else { |
|
|
|
|
await message.channel.send({embeds: [asr.embed]}); |
|
|
|
|
} |
|
|
|
@ -274,7 +274,7 @@ module.exports = { |
|
|
|
|
if (asr === 0) { |
|
|
|
|
return message.channel.send("That search returned no results! Try again?"); |
|
|
|
|
} else if (asr instanceof Pagination) { |
|
|
|
|
await asr.start({user: message.author.id, startPage: 1, endTime: 60000}); |
|
|
|
|
await asr.start({user: message.author.id, startPage: 0, endTime: 60000}); |
|
|
|
|
} else { |
|
|
|
|
await message.channel.send({embeds: [asr.embed]}); |
|
|
|
|
} |
|
|
|
@ -309,7 +309,7 @@ module.exports = { |
|
|
|
|
if (asr === 0) { |
|
|
|
|
return message.channel.send("That search returned no results! Try again?"); |
|
|
|
|
} else if (asr instanceof Pagination) { |
|
|
|
|
await asr.start({user: message.author.id, startPage: 1, endTime: 60000}); |
|
|
|
|
await asr.start({user: message.author.id, startPage: 0, endTime: 60000}); |
|
|
|
|
await asr.message.react('✅'); |
|
|
|
|
let noticeDel = await message.channel.send("React with :white_check_mark: when you've found the character you want!"); |
|
|
|
|
let arc; |
|
|
|
@ -377,7 +377,7 @@ module.exports = { |
|
|
|
|
if (asr === 0) { |
|
|
|
|
return message.channel.send("That search returned no results! Try again?"); |
|
|
|
|
} else if (asr instanceof Pagination) { |
|
|
|
|
await asr.start({user: message.author.id, startPage: 1, endTime: 60000}); |
|
|
|
|
await asr.start({user: message.author.id, startPage: 0, endTime: 60000}); |
|
|
|
|
await asr.message.react('✅'); |
|
|
|
|
await message.channel.send("React with :white_check_mark: when you've found the character you want!"); |
|
|
|
|
let arc; |
|
|
|
@ -486,7 +486,7 @@ module.exports = { |
|
|
|
|
if (asr === 0) { |
|
|
|
|
return message.channel.send("That search returned no results! Try again?"); |
|
|
|
|
} else if (asr instanceof Pagination) { |
|
|
|
|
await asr.start({user: message.author.id, startPage: 1, endTime: 60000}); |
|
|
|
|
await asr.start({user: message.author.id, startPage: 0, endTime: 60000}); |
|
|
|
|
await asr.message.react('✅'); |
|
|
|
|
await message.channel.send("React with :white_check_mark: when you've found the anime you want!"); |
|
|
|
|
let arc; |
|
|
|
@ -542,7 +542,7 @@ module.exports = { |
|
|
|
|
if (asr === 0) { |
|
|
|
|
return message.channel.send("That search returned no results! Try again?"); |
|
|
|
|
} else if (asr instanceof Pagination) { |
|
|
|
|
await asr.start({user: message.author.id, startPage: 1, endTime: 60000}); |
|
|
|
|
await asr.start({user: message.author.id, startPage: 0, endTime: 60000}); |
|
|
|
|
await asr.message.react('✅'); |
|
|
|
|
await message.channel.send("React with :white_check_mark: when you've found the character you want!"); |
|
|
|
|
let arc; |
|
|
|
|