ficc things

master
Kit Kasune 3 years ago
parent a2528914ac
commit 3c83f387a4
  1. 2
      commands/anime/char.js
  2. 2
      commands/anime/charimage.js

@ -357,13 +357,11 @@ module.exports = {
if (message.attachments.size > 1) {
Array.from(message.attachments.keys()).forEach(i => images.push(message.attachments.get(i).url));
} else {
if (!args[0]) {
let tempchar = message.attachments.size
? message.attachments.first().url
: await ask(message, `Please paste the image or a link to the image you'd like to add to **${ch.name}**.`, 60000, false, true);
if (!tempchar) {return;}
args = tempchar.split(/\s+/g);
}
images.push(args.join(" "));
}
let f;

@ -77,13 +77,11 @@ module.exports = {
if (message.attachments.size > 1) {
Array.from(message.attachments.keys()).forEach(i => images.push(message.attachments.get(i).url));
} else {
if (!args[0]) {
let tempchar = message.attachments.size
? message.attachments.first().url
: await ask(message, `Please paste the image or a link to the image you'd like to add to **${ch.name}**.`, 60000, false, true);
if (!tempchar) {return;}
args = tempchar.split(/\s+/g);
}
images.push(args.join(" "));
}
let f;

Loading…
Cancel
Save