From 7720a464c7b18cf89af2004e0638d80cd3383a07 Mon Sep 17 00:00:00 2001 From: WubzyGD Date: Sun, 27 Feb 2022 22:20:22 -0700 Subject: [PATCH] raise level role limit to 20 --- commands/leveling/levelrole.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/leveling/levelrole.js b/commands/leveling/levelrole.js index cbcb0d4..a2c121c 100644 --- a/commands/leveling/levelrole.js +++ b/commands/leveling/levelrole.js @@ -35,7 +35,7 @@ module.exports = { if (!role) {return message.channel.send("I can't find that role!");} role = role.id; let lr = await LR.findOne({gid: message.guild.id}) || new LR({gid: message.guild.id}); - if (Object.keys(lr.roles).length >= 10) {return message.channel.send("Due to data storage concerns, you can only have 10 level roles in this server. If you believe you need more, come to the support server and talk to my devs and see if they would be willing to raise this requirement for you.");} + if (Object.keys(lr.roles).length >= 20) {return message.channel.send("Due to data storage concerns, you can only have 20 level roles in this server. If you believe you need more, come to the support server and talk to my devs and see if they would be willing to raise this requirement for you.");} lr.roles[level] = role; lr.markModified(`roles.${level}`); lr.save();