auto clean whitespace

This commit is contained in:
SowinskiBraeden committed 2026-03-26 10:12:45 -07:00
1 parent 8abd3dadd1
commit 71cd1808d9
38 files changed
+1446 -1446

No files matched your search

+2 -2
View File
@@ -39,7 +39,7 @@ module.exports = {
* @param {*} param3
*/
run: async (client, interaction, args, { GuildDB }) => {
if (!client.exists(GuildDB.Nitrado) || !client.exists(GuildDB.Nitrado.ServerID) || !client.exists(GuildDB.Nitrado.UserID) || !client.exists(GuildDB.Nitrado.Auth)) {
const warnNitradoNotInitialized = new EmbedBuilder()
.setColor(client.config.Colors.Yellow)
@@ -72,7 +72,7 @@ module.exports = {
}
const newBalance = banking.guilds[GuildDB.serverID].balance - GuildDB.uavPrice;
client.dbo.collection("users").updateOne({"user.userID":interaction.member.user.id},{$set:{[`user.guilds.${GuildDB.serverID}.balance`]:newBalance}}, (err, res) => {
if (err) return client.sendInternalError(interaction, err);
});