ホーム 暮らし Discord no longer displaying Twitter embeds

Discord no longer displaying Twitter embeds

雨宮 千夏 雨宮 千夏 • 更新: • 公開: • 読了約 4 分
目次

Hello world

What do I mean by that?

n0c103a86ce00
When you post twitter.com,When you post x.com,

the embed won't display\(^o^)/

I thought it said it was fixed before...

Huh, where???

A trick to load Twitter embeds (?)

If you change the URL to load Twitter.com, the embed will display.

There are two ways to do it.vxtwitter GitHub repositoryfxtwitter GitHub repository

Personally, I like fxtwitter's embeds better because you can see more understandable information.()

For Twittervxtwitter.com embedfxtwitter.com embedAnd in the case of X

I don't know why, but since the company name changed to "x.com", when you click to copy a tweet link, it copies in the format x.com/ooooooo...

"Just use Twitter!!"

Since x.com is hard to read, I personally change it to twitter.com and then add fx.

fixvx.com Embedfixupx.com Embed

It's a hassle to change the message yourself!

I understand. Why is it that only when you want to quote Twitter during a conversation, the embed doesn't open...

So, I created code that automatically converts twitter.com / x.com to fxtwitter.com when you post it during a conversation.

In the development environment, I have it set up to store the TOKEN in config.json, but

if you are not used to config.json, you can easily run it using the method below.

Operation verification environment
  • Node.js v18

  • Discord.js@14

If you have any opinions or bugs, please report them to the Issue tracker!

If this article was helpful, please give it a heart!



同じカテゴリの記事

雨宮 千夏
デジタルマーケター 雨宮 千夏
プロフィールを見る →

アイドルと音楽シーンの取材を担当。公式サイトの公演情報、リリース告知、公開チャートを照合してから構成しています。

おすすめの関連記事