Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jefersonfuentes/creativobot

Discord bot for Eufonia's creative team, featuring welcome messages, thread creation, custom embeds, and configurable commands. Deployed on Render and monitored with UptimeRobot.
https://github.com/jefersonfuentes/creativobot

discord-bot discord-js

Last synced: 16 days ago
JSON representation

Discord bot for Eufonia's creative team, featuring welcome messages, thread creation, custom embeds, and configurable commands. Deployed on Render and monitored with UptimeRobot.

Awesome Lists containing this project

README

        

# Discord Bot for Creative Team

This is a Discord bot developed for the creative development team of Eufonia. The bot includes features such as welcoming new members, creating embeds, managing threads, and customizable command prefixes. It is built using Node.js and the Discord.js library.

## Features
- **Welcome Messages**: Sends a personalized welcome message to new members.
- **Embed Creation**: Allows users to create and send embeds to specified channels.
- **Thread Management**: Supports creating threads in text channels.
- **Customizable Prefix**: Users can change the command prefix.
- **Command Handling**: Supports both `!` prefixed commands and slash (`/`) commands.

## Prerequisites
- Node.js installed
- A Discord bot token
- Render account (if deploying on Render)

## Installation
1. Clone the repository:
```bash
git clone [https://github.com/yourusername/your-repo.git](https://github.com/jefersonfuentes/creativobot.git)
cd creativobot
```

2. Install dependencies:
```bash
npm install
```

3. Create a `.env` file in the root directory and add your Discord bot token:
```env
TOKEN=your-discord-bot-token
```

4. Run the bot:
```bash
node index.js
```

## Commands

### Slash Commands

- **`/embed`**
- Creates an embed in the specified channel.
- Options:
- `canal`: The channel name or mention where the embed will be sent.
- `titulo`: The title of the embed.
- `cuerpo`: The body content of the embed.

- **`/thread`**
- Creates a thread in the current channel.
- Options:
- `nombre`: The name of the thread.

- **`/setwelcome`**
- Configures the welcome channel and message.
- Options:
- `canal`: The channel for welcome messages.
- `mensaje`: The welcome message (use `{user}` to mention the new member).

## Deployment on Render

1. Create a new web service on Render.
2. Connect your GitHub repository to Render.
3. Set the environment variable `TOKEN` with your Discord bot token in the Render dashboard.
4. Deploy the bot.

## Monitoring with UptimeMonitor

1. Create an account on [UptimeRobot](https://uptimerobot.com/).
2. Add a new monitor for your bot's web service URL.
3. Configure alerts to notify you if the bot goes down.

## Contributing
Feel free to submit issues or pull requests for any bugs or suggestions.

## License
This project is licensed under the MIT License.

## Contact
For more information, please contact me at [X](https://x.com/notstraky).

## Acknowledgments
- Built using [Discord.js](https://discord.js.org/)