Skip to content

Latest commit

 

History

History
81 lines (51 loc) · 2.04 KB

README.md

File metadata and controls

81 lines (51 loc) · 2.04 KB

Slash-Command Hanlder

Discord.js Slash-Command Handlder

Can I use this handler in my bot?

Sure you can! You can remove credits if you want!

For People making a youtube video on it

There should be a line in your video description

Credits to visa2code - https://youtube.com/@visa2code
His discord server - https://discord.gg/e3CkRXy7HD

Any video not following this will be taken down!

Setup this sweet handler

  • Step 1
    Create a .env file with this template
TOKEN=secret

Fore replit users
click here

  • Step 2
    Fill ./botconfig/config.js file with this template
module.exports = {
  "token": process.env.TOKEN,
  "dbType": "", //quick.db OR MONGO
  "MONGOtype": "", //quickmongo OR MONGOOSE
  "MongoURL": "", //if dbType = MONGO, this is required else skip
  "loadSlashsGlobal": true,
  "dirSetup": [{
    "Folder": "Info", "CmdName": "info",
    "CmdDescription": "Grant specific Information about something!"
  }]
}

Tip: How to get a mongodb URL?

  • Step 3 Now te final step. Run npm install and it will install all necessary packages. At last run npm run start or node .

    And your bot should be up and running!
    For Emojis Click here

Problems? or cant host it?

You can ask help in my support server by clicking here

Contributing

Steps to contribute:

Contirbute

That's it Thanks for contributing!

License

DBAD License

Support

For support join our discord support server.

Authors