Skip to content

A system for adding notes to a user with modlogs and database integration! Created with node.js and discord.js clean and readable code.

License

Notifications You must be signed in to change notification settings

LunarTaku/djs-notes-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Note system banner

djs-notes-system

A system foradding notes to a user with modlogs and database integration! Created with node.js and discord.js clean and readable code.

NOTE

Dependencies

  • discord.js: npm i discord.js
  • mongoose: npm i mongoose

Instructions

  1. Install all the dependencies.
  2. Copy the command files into your command folder.
  3. Create a folder called schemas and copy the schema files into it.
  4. Correct all the paths to the schemas folder.
  5. Try the commands!

MongoDB Code

add to ready.js file!

    // Add this to the top of the file
    const { connect } = require('mongoose')
    
    // Add this to your ready.js file
    await connect(MONGO_URI)
      .then(() => {
        console.log(`✅ >>> Successfully connected to MongoDB!`);
      })
      .catch((err) => {
        console.log(err);
      });

previews

image image

About

A system for adding notes to a user with modlogs and database integration! Created with node.js and discord.js clean and readable code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published