xernerx 2.7.2 → 2.7.4
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.
|
|
3
|
+
"version": "2.7.4",
|
|
4
4
|
"description": "A bot framework for discord.js. [BETA]",
|
|
5
5
|
"main": "main.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://github.com/TheDummi/xernerx#readme",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@discordjs/rest": "1.
|
|
21
|
-
"@sapphire/shapeshift": "3.
|
|
22
|
-
"discord-api-types": "^0.37.
|
|
23
|
-
"discord.js": "^14.
|
|
20
|
+
"@discordjs/rest": "1.2.0",
|
|
21
|
+
"@sapphire/shapeshift": "3.6.0",
|
|
22
|
+
"discord-api-types": "^0.37.11",
|
|
23
|
+
"discord.js": "^14.5.0",
|
|
24
24
|
"dumfunctions": "^1.0.7",
|
|
25
|
-
"i18next": "^21.9.
|
|
25
|
+
"i18next": "^21.9.2"
|
|
26
26
|
},
|
|
27
27
|
"packageManager": "npm@8.5.5"
|
|
28
28
|
}
|