xernerx 2.7.2 → 2.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -85,7 +85,7 @@ module.exports = new class Functions {
85
85
  (async () => {
86
86
  let embed = options.index;
87
87
 
88
- let m = options.send ? await interaction.channel.send({ embeds: [embed], components: [options.row] }) : await reply(interaction, { embeds: [embed], components: [options.row] })
88
+ let m = options.send ? await interaction.channel.send({ embeds: [embed], components: [options.row, ...options.components] }) : await reply(interaction, { embeds: [embed], components: [options.row, ...options.components] })
89
89
 
90
90
  interaction.channel.createMessageComponentCollector({ filter: options.filter, time: options.time || 300000 })
91
91
 
@@ -206,7 +206,7 @@ module.exports = new class Functions {
206
206
  (async () => {
207
207
  let embed = embeds[options.index || 0];
208
208
 
209
- let m = options.send ? await interaction.channel.send({ embeds: [embed], components: [options.row] }) : await reply(interaction, { embeds: [embed], components: [options.row] });
209
+ let m = options.send ? await interaction.channel.send({ embeds: [embed], components: [options.row, ...options.components] }) : await reply(interaction, { embeds: [embed], components: [options.row, ...options.components] });
210
210
 
211
211
  const collector = interaction.channel.createMessageComponentCollector({ filter: options.filter, time: options.time || 300000 })
212
212
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xernerx",
3
- "version": "2.7.2",
3
+ "version": "2.7.3",
4
4
  "description": "A bot framework for discord.js. [BETA]",
5
5
  "main": "main.js",
6
6
  "scripts": {