Code Monkey home page Code Monkey logo

adryd325 / discord-twitter-video-embeds Goto Github PK

View Code? Open in Web Editor NEW
82.0 82.0 10.0 445 KB

A Discord bot that fixes broken Twitter, TikTok and Reddit Embeds. This repository is archved in a BROKEN STATE. I'm uninterested in continuing to maintain it.

Home Page: https://adryd.co/twitter-embeds

License: MIT License

JavaScript 92.73% Nix 0.50% Shell 2.60% Dockerfile 0.35% Batchfile 3.82%
bot discord discord-bot discord-js reddit tiktok twitter

discord-twitter-video-embeds's Introduction

Hi, I'm Ari

(a.k.a adryd, Ariana)

I'm a 20 year old software developer, server administrator, and overall technology obsessed girl from Canada. Sometimes I pretend to be a witch, which makes me very happy.

Visit my website for more of what I do: https://adryd.com

adryd

discord-twitter-video-embeds's People

Contributors

adryd325 avatar bagusnl avatar brecert avatar cynosphere avatar ratismal avatar stealthgyro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

discord-twitter-video-embeds's Issues

Please add toggle conversion site feature

This bot can handle with X(former:twitter), Tiktok, Reddit. Can I choose which service convert videos what I want?
For example, I want to use VxT and this bot at the same time. VxT for twitter, this bot for tiktok and reddit because VxT and this bot try to convert same tweet at the same time.

Recompose

Is it possible to have recompose not break the profile of the poster
image
This makes it difficult to search history for a user.

Not embedding gifs

The bot is not embedding gifs just the text of the tweet and not the video gif itself but is still embedding videos and pictures.

Fediverse media

Many sites that implement the Fediverse protocol have bad embeds, The goal of this module would be to fix this...

.well-known/webfinger could be used to cache results (whether or not a site implements ActivityPub) and attempt to read post data.

Perhaps fingerprinting the existing embed (MESSAGE_UPDATE) based on the way we know fediverse sites tend to respond; I want to avoid probing .well-known/webfinger for every domain posted

Perhaps have it opt-in as well cause the fedi is still comparitively small compared to Twitter (rip) and Reddit

Disable Tiktok embeds

I would like Quickvids to handle tiktok integrations but I can't find a way to disable JUST the tiktok embeds, for now this forces me to kick Quickvids out of my server if I don't want to have the link I share embedded twice, but it has features I would like to use. Is there a way to disable just the tiktok integration that I'm note aware of ?
Thanks a lot

Select services to enable/disable

I would like to use this service only for tiktok links, it would be nice to have an option to enable / disable different services

Toggle for @silent on embed messages

I'm interested in a setting that allows for toggling whether or not the bot prepends a message with @silent, simply for the sake of preventing multiple notification sounds from happening at once when an embed is posted.

Tweets with multiple videos

You probably already know but Twitter has added the ability to mix and match up to 4 videos with images and gifs. It would be cool to support this

I'm not quite sure what the best way of handling this would be. 4 videos might be a bit much so perhaps make this configurable?

There's also the special way to link to a specific video: https://twitter.com/USER/status/ID/video/3 (would link to the third video), so checking for that and only embedding that video would also be good

Update sqlite3 to 5.0.4

The current version of sqlite3 used does not have arm binaries until version 5.0.4!
It would be nice to see this change in the repository rather than having to clone and update sqlite3 after each commit with:
pnpm update [email protected] :))

Reddit image embeds

Reddits default embeds are awful for images too, redd.it doesnt embed at all and reddit.com has very small thumbnail.

windows installer keeps giving tokeninvalid error

ive attempted to set this up for hours, and im running under Windows 11.
making sure to keep putting the current token in, including giving the bot permissions.
i was wondering if there's a guide on how to do the windows installer? just in-case i didn't do it right or something.
sorry i got really stuck and im making an issue post. thank you

    if (response.status === 401) throw new DiscordjsError(ErrorCodes.TokenInvalid);
                                       ^

Error [TokenInvalid]: An invalid token was provided.
    at fetchRecommendedShardCount (C:\git\discord-twitter-video-embeds\node_modules\discord.js\src\util\Util.js:75:40)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async ShardingManager.spawn (C:\git\discord-twitter-video-embeds\node_modules\discord.js\src\sharding\ShardingManager.js:199:16) {
  code: 'TokenInvalid'
}

Node.js v18.18.0
Error occured, restarting bot
time of error 22:31:51.39```

Posts Tik Tok Embeds But No Videos

For a short time, the bot was posting embeds and videos whenever someone linked to Tik Tok, which was great, but now we no longer get the videos. The bot just posts the embeds and nothing else. Is it possible to fix it so that the videos are posted again, or stop it from posting the embedded descriptions? I'd prefer it post nothing at all if it's not going to post the videos.

startup mklink failed on install

mklink /H C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\windows-runner.bat C:\git\discord-twitter-video-embeds\windows-runner.bat

Failed with error.

I think the following modifications will work correctly.
mklink /H "C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\windows-runner.bat" "C:\git\discord-twitter-video-embeds\windows-runner.bat"
It may be better to do this for other paths as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.