|
|
|
@ -42,7 +42,7 @@ class char extends Command{
|
|
|
|
|
.setTimestamp()
|
|
|
|
|
.addFields(fieldPayload);
|
|
|
|
|
embeds.unshift(embed);
|
|
|
|
|
console.log(data.length, embeds.length, embeds)
|
|
|
|
|
// console.log(data.length, embeds.length, embeds)
|
|
|
|
|
|
|
|
|
|
const filter = i => i.customId.slice(0,-1) === randomID;
|
|
|
|
|
await message.channel.send({ephemeral: true, embeds, components: [row] });
|
|
|
|
@ -51,7 +51,7 @@ class char extends Command{
|
|
|
|
|
{
|
|
|
|
|
message.delete();
|
|
|
|
|
m.message.delete();
|
|
|
|
|
sendMessage(data[m.customId[m.customId.length-1]-1].id);
|
|
|
|
|
sendMessage(data[m.customId[m.customId.length-1]].id);
|
|
|
|
|
});
|
|
|
|
|
/**
|
|
|
|
|
* @param {Number} id
|
|
|
|
|