Fixed missing variables

This commit is contained in:
2024-03-03 10:45:24 +00:00
parent ecea682fdd
commit 5cc67b27bc
13 changed files with 179 additions and 62 deletions

2
events/messageCreate.js Normal file → Executable file
View File

@ -44,7 +44,7 @@ client.on("messageCreate", async (message) => {
}
// update the wolf count
wolfcount.findByIdAndUpdate("6447da87681fd1bc486a4923", {count: newcount}).then(() => {
wolfcount.findByIdAndUpdate(`${process.env.UPDATEID}`, {count: newcount}).then(() => {
console.log('Count updated!');
}).catch((error) => {
console.error(error);