Fixed missing variables
This commit is contained in:
2
commands/Management/resetwolfcount.js
Normal file → Executable file
2
commands/Management/resetwolfcount.js
Normal file → Executable file
@ -19,7 +19,7 @@ module.exports = {
|
||||
resetcount = 0
|
||||
|
||||
// Reset the wolf count
|
||||
wolfcount.findByIdAndUpdate("6447da87681fd1bc486a4923", {count: resetcount}).then(() => {
|
||||
wolfcount.findByIdAndUpdate(`${process.env.UPDATEID}`, {count: resetcount}).then(() => {
|
||||
console.log('');
|
||||
console.log('Count reset!');
|
||||
}).catch((error) => {
|
||||
|
Reference in New Issue
Block a user