erm... your link, my liege
LinkFix brings link embeds back to your Discord server!
Rich media embeds are not well supported by large social media sites. For example, Tweets (a.k.a. "Posts") from Twitter/X no longer embed in Discord. LinkFix solves this problem by replying to messages containing such links with vxtwitter-style alternatives that support rich media embeds.
LinkFix currently supports:
youtu.be
URL that directs to the full player)/help
: Displays a help message with this list of commands/invite
: Get a link to invite LinkFix to a server/vote
: Get a link to vote for LinkFix on Top.ggFollow these steps to get the code up and running:
1) Clone the repo :hugs:
2) Run npm install
3) Copy .env.example
to .env
4) Set DISCORD_BOT_TOKEN=
in .env
to your bot token
5) Run npm run build && npm start
. You're good to go!
Alternatively, with Docker Compose:
1) Follow steps 1 and 2 above
2) Copy docker-compose.example.yml
to docker-compose.yml
3) Edit docker-compose.yml
a) Change the line image: ...
to build: .
b) Set DISCORD_BOT_TOKEN=
to your bot token
4) Run docker-compose up --no-log-prefix
. You're good to go!
Please write a detailed description for your PR! Also note commit messages will be squashed as part of the merge. PRs must pass all automated checks to qualify for a merge.
LinkFix for Discord - A Discord bot for improving link embeds.
Copyright (C) 2023 Ralph and suchipi
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
See LICENSE.txt
for the full license details.