add limit to leaderboard
This commit is contained in:
3 files changed
+5
-4
No files matched your search
+3
-3
@@ -609,8 +609,8 @@ module.exports = {
|
|||||||
return interaction.send({ embeds: [errorEmbed] });
|
return interaction.send({ embeds: [errorEmbed] });
|
||||||
} else {
|
} else {
|
||||||
const prompt = new EmbedBuilder()
|
const prompt = new EmbedBuilder()
|
||||||
.setTitle(`Are you sure you want to remove this role as an income?`)
|
.setTitle(`Are you sure you want to remove this role as an income?`)
|
||||||
.setColor(client.config.Colors.Default)
|
.setColor(client.config.Colors.Default)
|
||||||
|
|
||||||
const opt = new ActionRowBuilder()
|
const opt = new ActionRowBuilder()
|
||||||
.addComponents(
|
.addComponents(
|
||||||
@@ -663,7 +663,7 @@ module.exports = {
|
|||||||
.setColor(client.config.Colors.Green)
|
.setColor(client.config.Colors.Green)
|
||||||
.setTitle(`Success: You ${action} the channel.`)
|
.setTitle(`Success: You ${action} the channel.`)
|
||||||
|
|
||||||
return interactino.update({ embeds: [successEmbed], components: [] });
|
return interaction.update({ embeds: [successEmbed], components: [] });
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ module.exports = {
|
|||||||
value: "limit",
|
value: "limit",
|
||||||
type: 4,
|
type: 4,
|
||||||
min_value: 1,
|
min_value: 1,
|
||||||
|
max_value: 25,
|
||||||
required: true,
|
required: true,
|
||||||
}],
|
}],
|
||||||
SlashCommand: {
|
SlashCommand: {
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dayz-armbands",
|
"name": "dayz-armbands",
|
||||||
"version": "6.5.2",
|
"version": "6.5.3",
|
||||||
"description": "A General Purpose Discord Bot for DayZ Servers.",
|
"description": "A General Purpose Discord Bot for DayZ Servers.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"nodemonConfig": {
|
"nodemonConfig": {
|
||||||
|
|||||||
Reference in new issue
Block a user