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

+4 -4
View File
@@ -56,7 +56,7 @@ module.exports = {
)
return interaction.send({ embeds: [prompt], components: [opt], flags: (1 << 6) });
},
},
@@ -66,7 +66,7 @@ module.exports = {
run: async (client, interaction, GuildDB) => {
const choice = interaction.customId.split('-')[1];
const targetUserID = interaction.customId.split('-')[2];
if (!interaction.customId.endsWith(interaction.member.user.id)) {
return interaction.reply({
content: "This button is not for you",
@@ -79,7 +79,7 @@ module.exports = {
.setTitle('Successfully reset user\'s data')
let banking = await client.dbo.collection("users").findOne({"user.userID": interaction.member.user.id}).then(banking => banking);
let bankingReset = false;
if (!banking) bankingReset = true
else banking = banking.user
@@ -108,4 +108,4 @@ module.exports = {
}
}
}
}
}