Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/coslynx/discord-member-activity-tracker

Project: Discord Member Status Bot with Embed Updates and Setup Command. Created at https://spectra.codes, which is owned by @Drix10
https://github.com/coslynx/discord-member-activity-tracker

code-generation code-quality community-engagement customizable-embeds developer-tools devops discord-api discord-bot discord-js embed-generation event-listeners javascript machine-learning member-status mongodb mongoose node-js real-time-updates server-management software-development

Last synced: 18 days ago
JSON representation

Project: Discord Member Status Bot with Embed Updates and Setup Command. Created at https://spectra.codes, which is owned by @Drix10

Awesome Lists containing this project

README

        




discord-member-status-bot


Discord bot that dynamically displays the real-time status of all members within a server, utilizing embeds for a user-friendly and visually appealing presentation.


Developed with the software and tools below.



Framework - Discord.js
Frontend - Javascript, Html, Css
Backend - Node.js
Database - MongoDB



git-last-commit
GitHub commit activity
GitHub top language

## ๐Ÿ“‘ Table of Contents
- ๐Ÿ“ Overview
- ๐Ÿ“ฆ Features
- ๐Ÿ“‚ Structure
- ๐Ÿ’ป Installation
- ๐Ÿ—๏ธ Usage
- ๐ŸŒ Hosting
- ๐Ÿ“„ License
- ๐Ÿ‘ Authors

## ๐Ÿ“ Overview
This repository contains a Discord bot project called "discord-member-status-bot" designed to provide real-time updates on the status of all members within a Discord server. The bot utilizes Discord.js, Node.js, MongoDB, and other technologies for seamless integration and enhanced functionality.

## ๐Ÿ“ฆ Features
| | Feature | Description |
|----|--------------------|--------------------------------------------------------------------------------------------------------------------|
| โš™๏ธ | Architecture | The codebase follows a modular architectural pattern with separate directories for different functionalities, ensuring easier maintenance and scalability. |
| ๐Ÿ“„ | Documentation | The repository includes a README file that provides a detailed overview of the project, its dependencies, and usage instructions.|
| ๐Ÿ”— | Dependencies | The codebase relies on various external libraries and packages such as Discord.js, mongoose, dotenv, and nodemon, which are essential for building and styling the UI components, and handling external services.|
| ๐Ÿงฉ | Modularity | The modular structure allows for easier maintenance and reusability of the code, with separate directories and files for different functionalities such as commands, events, models, and utils.|
| ๐Ÿงช | Testing | Implement unit tests using frameworks like Jest or React Testing Library to ensure the reliability and robustness of the codebase. |
| โšก๏ธ | Performance | The performance of the system can be optimized based on factors such as the browser and hardware being used. Consider implementing performance optimizations for better efficiency.|
| ๐Ÿ” | Security | Enhance security by implementing measures such as input validation, data encryption, and secure communication protocols.|
| ๐Ÿ”€ | Version Control| Utilizes Git for version control with GitHub Actions workflow files for automated build and release processes.|
| ๐Ÿ”Œ | Integrations | Interacts with Discord API, MongoDB, and utilizes event listeners for seamless communication and data management.|
| ๐Ÿ“ถ | Scalability | Design the system to handle increased user load and data volume, utilizing caching strategies and cloud-based solutions for better scalability. |

## ๐Ÿ“‚ Structure

```
โ”œโ”€โ”€ commands
โ”‚ โ”œโ”€โ”€ setup.js
โ”‚ โ”œโ”€โ”€ setstatus.js
โ”‚ โ””โ”€โ”€ help.js
โ”œโ”€โ”€ events
โ”‚ โ”œโ”€โ”€ ready.js
โ”‚ โ”œโ”€โ”€ guildMemberUpdate.js
โ”‚ โ””โ”€โ”€ messageCreate.js
โ”œโ”€โ”€ models
โ”‚ โ”œโ”€โ”€ member.js
โ”‚ โ””โ”€โ”€ guild.js
โ”œโ”€โ”€ utils
โ”‚ โ”œโ”€โ”€ embedUtils.js
โ”‚ โ”œโ”€โ”€ commandHandler.js
โ”‚ โ””โ”€โ”€ logger.js
โ”œโ”€โ”€ config
โ”‚ โ””โ”€โ”€ config.json
โ”œโ”€โ”€ .env
โ”œโ”€โ”€ package.json
โ””โ”€โ”€ README.md

```

## ๐Ÿ’ป Installation
### ๐Ÿ”ง Prerequisites
- Node.js
- npm
- MongoDB

### ๐Ÿš€ Setup Instructions
1. Clone the repository:
- `git clone https://github.com/coslynx/discord-member-status-bot.git`
2. Navigate to the project directory:
- `cd discord-member-status-bot`
3. Install dependencies:
- `npm install`
4. Create a `.env` file and add your Discord bot token and MongoDB connection string.
5. Start the bot:
- `npm start`

## ๐Ÿ—๏ธ Usage
### ๐Ÿƒโ€โ™‚๏ธ Running the Project
1. Start the bot by running:
- `npm start`
2. The bot will connect to Discord and start monitoring member status.
3. Use the following commands:
- `/setup`: Configure the channel where the member status embeds will be displayed.
- `/setstatus`: Customize your displayed status.
- `/help`: View a list of available commands.

### โš™๏ธ Configuration
- Configure the bot's behavior by modifying the `config.json` file.
- Set environment variables in the `.env` file.

### ๐Ÿ“š Examples
- `/setup #general`: Sets the #general channel as the display channel for member status embeds.
- `/setstatus "Taking a break"`: Sets your status to "Taking a break."
- `/help`: Displays a list of available commands and their usage.

## ๐ŸŒ Hosting
### ๐Ÿš€ Deployment Instructions
1. Deploy the bot to a cloud platform such as Heroku or AWS.
2. Configure environment variables (Discord bot token, MongoDB connection string) on the hosting platform.
3. Start the bot on the hosting platform.

## ๐Ÿ“œ License
This project is licensed under the MIT License.

## ๐Ÿ‘ฅ Authors
- Author Name - [Spectra.codes](https://spectra.codes)
- Creator Name - [DRIX10](https://github.com/Drix10)


๐ŸŒ Spectra.Codes




Why only generate Code? When you can generate the whole Repository!