Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theassassin0128/node
A template repository for a discord bot
https://github.com/theassassin0128/node
bot discord-bot discord-js javascript
Last synced: 27 days ago
JSON representation
A template repository for a discord bot
- Host: GitHub
- URL: https://github.com/theassassin0128/node
- Owner: theassassin0128
- License: mit
- Created: 2022-12-06T09:28:37.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-14T15:00:04.000Z (about 1 month ago)
- Last Synced: 2025-01-14T16:16:02.301Z (about 1 month ago)
- Topics: bot, discord-bot, discord-js, javascript
- Language: JavaScript
- Homepage:
- Size: 608 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
[![CodeQL](https://github.com/THE-ASSASSIN0128/Node/actions/workflows/codeql.yml/badge.svg?branch=master)](https://github.com/THE-ASSASSIN0128/Node/actions/workflows/codeql.yml)
[![Dependency Review](https://github.com/THE-ASSASSIN0128/Node/actions/workflows/dependency-review.yml/badge.svg)](https://github.com/THE-ASSASSIN0128/Node/actions/workflows/dependency-review.yml)# NODE
**Node** is a multipurpose discord Bot. Specially made for _Moderation_ & _Server-Management_. It was made with [discord.js](https://github.com/discordjs/discord.js) which is a powerful [**Node.js**](https://nodejs.org/en/) module that allows you to easily interact with the [Discord API](https://discord.com/developers/docs/intro).
## Road Map
> **DROPPED**. _This project is no longer in development and dropped. There won't be any new releases._
- [x] **Basic Bot**
- [ ] **Moderation Bot**
- [ ] **Chat Bot**
- [ ] **Web based Dashboard**
- [ ] **Website**## Features
- **Multiserver Member Logging System**
## Get Started
1. Copy `.env.example` to `.env` and fill in the values as detailed below.
1. Create a [MongoDB](https://www.mongodb.com/) database and fill in `DATABASE_URL`.
1. Create a Discord application at https://discord.com/developers/applications.
1. Go to the Bot tab and click "Add Bot"
- Click "Reset Token" and fill in `DISCORD_TOKEN`
- Disable "Public Bot" unless you want your bot to be visible to everyone
- Enable "Server Members Intent", "Presence Intent" and "Message Content Intent" under "Privileged Gateway Intents"
1. Go to the OAuth2 tab (General), copy your "Client ID", and fill in `BOT_ID`.
1. Install dependencies and run the bot
```
npm install
npm start
```
1. Now go to URL generator tab, in scopes select "bot", "application.commands" scroll down select "Administrator" permission copy the url and invite the bot to your server.
1. Start using the bot. Use `/ping` or `/botinfo` commands.## Customization
1. You can change embed message `colour`.
1. Add or Remove ids of `devs`.
1. Change links of `github`, `discord server`, `images`.> **Note** : use hex colour code for the colours. (example: #FF0000 means "RED")
## Commands
| Name | description |
| ---------- | ---------------------------------------------------------------- |
| botinfo | Replies with bot's stats in an embed message |
| invite | Returns a link button with embeded invite-link. |
| roleinfo | Similar to botinfo replies with information of a server role |
| roles | Replies with an embed message with full list of roles (UpTo 150) |
| serverinfo | Same as roleinfo replies with info about a discord server |
| memberinfo | Same as serverinfo replies with information of a discord user |Written above are some public commands of the bot.