NamVr / DiscordBot-Template

A boilerplate / template for discord.js v14 bots with 100% coverage of Discord API, command handler, error handler based on https://discordjs.guide/
https://djs.docs.namanvrati.me/
Apache License 2.0
322 stars 75 forks source link
boilerplate-template buttons command-handler context-menus discord discord-api discord-bot discord-bot-template discord-js discord-ts discordjs error-handler nodejs select-menus slash-commands typescript typings v14 vsc

Welcome to NamVr Discord Bot Template 👋

Version Documentation Maintenance Twitter: namanvrati

An open source discord.js bot template which is based on official discord.js guide to get started on making your very personal discord bot!

🏠 Homepage

Introduction

NamVr Discord Bot Template is an open source discord.js based bot template to get started on a new bot project. It is classic javascript template, not requiring any external dependencies unlike other famous frameworks. (This is not a framework!) You can scale any kind of bot project using this template. (single server based or multiple server based) It all depends on your creativity!

🛠️ NEW! This template now supports in-built typing (typescript-assistance) support too, which means you will get all typescript-like assistant in vanilla javascipt! (Visual Studio Code tested, working 100% as expected)

Features:

This template comes in with many in-built useful and flexible features, such as

Dynamic Command Handler:

Dynamic Event Handler:

Dynamic Trigger Handler:

Dynamic Slash Command Handler:

Dynamic Buttons Interaction Handler:

Dynamic Modals Interaction Handler:

Dynamic Context Menu Handler:

[NEW] Dynamic Autocomplete Interaction Request Handler:

Highly Customizable:

Using the template is so easy and fun, you would know. As the template does not rely on any external dependencies and written in javascript, it is highly customizable to any extend. There's no end to your creativity!

Open source and self-hosted:

It's yours, you have full control.

Install

npm install

Configuration

Run your bot

npm start

Support & Documentation

I'm working to make it more professional and easy to use for everyone. There will be a documentation out very soon.

WIP : https://djs.docs.namanvrati.cf/

Author

👤 Naman Vrati

Contributors

👤 Thank you so much to Krish Garg and Thomas Fournier for giving awesome contributions to the project.

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you! Star-ring the project gives me encouragement to continue it. You can also sponsor the project and get listed as a contributer! Thanks a lot.

📝 License

Copyright © 2021 Naman Vrati.
This project is Apache-2.0 licensed.