diff --git a/commands/reset_channels.js b/commands/reset_channels.js index 37f3a85..9e78921 100644 --- a/commands/reset_channels.js +++ b/commands/reset_channels.js @@ -21,7 +21,7 @@ module.exports = { const permissions = bitfieldCalculator.permissions(interaction.member.permissions); if (!permissions.includes("MANAGE_GUILD")) return interaction.send({ content: 'You don\'t have the permissions to use this command.' }); - client.dbo.collection("prefixes").updateOne({"server.serverID":interaction.guild.id},{$set:{"server.allowedChannels":[]},$set:{"server.hasCustomChannels":false}},function(err, res) { + client.dbo.collection("prefixes").updateOne({"server.serverID":interaction.guild.id},{$set:{"server.allowedChannels": [], "server.hasCustomChannels": false}},function(err, res) { if (err) throw err; return interaction.send({ content: `Successfully reset all configured channels` }); }); diff --git a/config/config.js b/config/config.js index afb99d2..6cb2a77 100644 --- a/config/config.js +++ b/config/config.js @@ -2,7 +2,7 @@ require('dotenv').config() module.exports = { Dev: "PRODUCTION", - Version: "3.2.1", + Version: "3.2.2", Admins: ["362791661274660874"], // Admins of the bot DefaultPrefix: "?", socket: "https://www.linespolice-cad.com/",