#DB not saving correctly [MongoDB]
6 messages · Page 1 of 1 (latest)
have you verified that the channel can be found in the database?
i.e. where you're doing guildData.forums.find - is it returning anything?
yes, https://sourceb.in/X5UUNt80s0 new code
without knowing much about mongodb, i assume it's because you're directly updating the referenced object but then not making the change in the database before calling .save()
calling .save() takes what the object is currently and puts it on the database