Skip to content

Discord bot that generates threads.net link previews

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

Cldfire/discord-threads-link-expander

Repository files navigation

discord-threads-link-expander

CI dependency status

A simple Discord bot that provides a message action to generate link previews for any https://threads.net links in said messages.

Why? Because for some reason it's hit-or-miss whether or not Discord actually generates link previews for Threads, which is frustrating.

It also contains a /fx command for fixing up Twitter links via FixTweet, because why not.

Installation

Downloading

You can download prebuilt binaries in the releases section.

Building

You can also build and install from source (requires an up-to-date Rust install):

cargo install --git https://github.com/Cldfire/discord-threads-link-expander.git --locked

Config

Create a file named discord-threads-link-expander-config.toml next to the binary (or at the root of the repo if you're doing cargo run). Add your bot token like so:

bot_token = "..."

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.