🚀 Node - Multipurpose Discord Bot
Node is a multipurpose Discord bot that is built with discord.js, a powerful Node.js module that allows you to easily interact with the Discord API.
✉️ Invite Node • 🆘 Support Server • 📝 Bug & Request Feature
📊 Road Map
- Basic Bot
- Music Bot
- Moderation Bot
- Information Bot
- Website
- Dashboard
- Documentation
💡 Features
- Advanced Logger
- Moderation Tools
- Music Streaming
- Server Management
- Highly Customizable
- Multi-Language Support
- Custom Scripts
- Advanced Error Handler
- Predefined Types
- Basic Sharding
- Advanced Validation
- Templates for Events, Commands & Contexts
🔧 Requirements
Before you get started, you need to have the following:
🚀 Get Started
- First clone the repository:
git clone https://github.com/rafisarkar0128/Node.git
- Change to the directory:
cd Node
- Install the required packages:
pnpm install # you can also use npm if you want
[!NOTE] Install
pnpm
if you don’t have it installed
npm install -g pnpm
- Copy
example.lavalink-nodes.js
tolavalink-nodes.js
[!IMPORTANT] If you are using external nodes then add them. For locally hosted node no need to add extra info.
-
Copy
.env.example
to.env
and fill in all the required values. -
Now go to Discord Developer Page select your application and head to OAuth2 tab. In OAuth2 URL Generator select “bot” and “application.commands” scopes, scroll down select “Administrator” permission, copy the URL, open the URL and invite the bot to your server.
-
Start the bot:
# You can also use npm if you want
pnpm start
pnpm run dev # if you want to run in dev mode
- Start using the bot. Use
/ping
or/botinfo
commands.
[!NOTE] By default, the bot loads slash commands globally. To load slash commands to a single server, go to
src/config.js
, inbot
change value ofglobal
tofalse
. This will make sure that the slash commands are available only in your server.
🗝️ Sharding
Sharding is not recommended for bots that are in less than 2,000 servers. By default the bot runs without sharding. To enable sharding, start the bot like this:
pnpm run shard
pnpm run devShard # if you want to run in dev mode
📜 Commands
[!NOTE] There will be a dedicated markdown file for commands in future. For now here are some public commands of the bot.
Name | Description |
---|---|
ping | 🏓 Pong! Replies with bot’s response time. |
botinfo | 📖 View bot’s information. |
invite | returns a link button with bot’s invite URL. |
language | 🌐 Change your language for the bot. |
play | ▶ Play songs or tracks from available sources. |
purge | 🧹 Delete bulk amount of messages. |
🤝 Contributing
Please check the issues page for open issues and feature requests.
Thank you for your interest in contributing to this project! Remember to follow these guidelines when contributing:
- Fork the repository and create a new branch for your feature or bug fix.
- Write clean and concise code that follows the established coding style.
- Create detailed and thorough documentation for any new features or changes.
- Write and run tests for your code.
- Submit a pull request with your changes. Your contribution will be reviewed, and any necessary feedback or changes will be discussed with you.
💖 I appreciate your help in making this project better!
📄 License
This project is licensed under the MIT License. See the LICENSE file for details.
👥 Contributors
Thanks go to these wonderful people for their contributions: