Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/philippgitpush/embeds-buddy
Node.js-based Discord bot that handles/fixes social media link embeds and optionally plays music.
https://github.com/philippgitpush/embeds-buddy
discord discord-bot embed-fixer embeds
Last synced: about 1 month ago
JSON representation
Node.js-based Discord bot that handles/fixes social media link embeds and optionally plays music.
- Host: GitHub
- URL: https://github.com/philippgitpush/embeds-buddy
- Owner: philippgitpush
- Created: 2024-07-21T14:11:42.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-22T13:24:06.000Z (6 months ago)
- Last Synced: 2024-11-01T05:42:37.334Z (3 months ago)
- Topics: discord, discord-bot, embed-fixer, embeds
- Language: JavaScript
- Homepage: https://discord.com/oauth2/authorize?client_id=1264933718296887368
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> [!NOTE]
> Please note that this bot is not actively maintained.# Discord Embed Buddy
This is a Node.js-based Discord bot that intercepts messages with potentially faulty social media embeds and provides proxy links for the content in response.
## URL Replacements
Here's an overview of the URL replacements:
| Original URL | Replacement URL |
|--------------------|------------------|
| `twitter.com` | `fxtwitter.com` |
| `x.com` | `fixupx.com` |
| `tiktok.com` | `d.tnktok.com` |
| `vm.tiktok.com` | `d.tnktok.com` |
| `reddit.com` | `rxddit.com` |
| `old.reddit.com` | `old.rxddit.com` |
| `instagram.com` | `ddinstagram.com`|## Docker Setup
This bot runs in a Docker container. To set up and run the bot using Docker, follow these steps:
### Prerequisites
Ensure you have Docker installed on your system.
### Installation
1. **Clone this repository**.
1. **Configure your `.env` file**.
Before running the Docker container, make sure you set up the necessary environment variables. Create a `.env` file in the `data` directory with the following content:
```sh
DISCORD_TOKEN=
CLIENT_ID=
```Replace `` and `` with your actual Discord bot token and client ID.
2. **Navigate to the project directory** where the Dockerfile and `compose.yml` are located.
3. **Build and start the Docker container** using Docker Compose:
```sh
docker compose up --build
```This command will:
- Build the Docker image as defined in the `Dockerfile`.
- Start the container with the configuration specified in `compose.yml`.## License
This project is licensed under the MIT License.