Skip to content

loek-sn/fix-embeds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fix-embeds

A Discord bot server built with Bun that automatically rewrites social media links in your server messages for better embeds. It supports platforms like X (Twitter), Reddit, TikTok, and Instagram, converting them to alternative embed-friendly services (e.g., fxtwitter for X links).

Features

  • Detects and rewrites links from:
    • X (Twitter) → fxtwitter
    • Reddit → rxddit
    • TikTok → vxtiktok
    • Instagram → ddinstagram
  • Improves embed previews for shared links
  • Fast and lightweight, powered by Bun

Installation

Install dependencies:

bun install

Usage

Start the bot:

export DISCORD_CLIENT_TOKEN ...
export DISCORD_CLIENT_ID ...
bun run build
bun run register
bun run src/index.ts

Configuration

  1. Set up your Discord bot and invite it to your server.
  2. Configure your bot token and other settings in the environment file or as required in the code.

Requirements

  • Bun v1.2.13 or later
  • Node.js (if required by dependencies)
  • Discord bot token

License

MIT


This project was created using bun init in Bun v1.2.13.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •