13.2.6 minor bug fix
This commit is contained in:
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -860,7 +860,7 @@ module.exports = {
|
||||
|
||||
return interaction.send({ embeds: [successEmbed] });
|
||||
|
||||
} else if (arg[0].name == 'work_limiter') {
|
||||
} else if (args[0].name == 'work_limiter') {
|
||||
client.dbo.collection("guilds").updateOne({"server.serverID":GuildDB.serverID}, {$set: {"server.workLimiter": args[0].options[0].value}}, function(err, res) {
|
||||
if (err) return client.sendInternalError(interaction, err);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user