Relative Content

Tag Archive for mongodbmongoosediscord.js

How can I use the .find() output for schema validation?

I am trying to make a Discord bot with a command called /moderator with a sub-command /moderator add which adds a user’s ID to a moderator database (MongoDB/Mongoose) which is then checked anytime someone wants to run a moderator command.