VxTwitterBot
A Discord bot that replaces twitter URLs with vxtwitter for videos and GIFs.
Install / Use
/learn @joaocmd/VxTwitterBotREADME
vxTwitterBot
A Discord bot that replaces messages that contain https://twitter.com URLs with https://vxtwitter.com (https://github.com/dylanpdx/BetterTwitFix).
Usage
Copy the config-template.json to a config.json and edit as necessary.
The config file is structured as follows:
{
"DISCORD_TOKEN": "<DISCORD_TOKEN_HERE>",
"TWITTER_BEARER_TOKEN": "<TWITTER_BEARER_TOKEN_HERE>",
"PREAMBLE": "wrote:\n", // message starts with "@mention wrote:\n"
"MATCH": "https://twitter.com",
"REPLACE": "https://vxtwitter.com"
}
The TWITTER_BEARER_TOKEN field can be left with an empty string.
In that case, the bot uses the message embed to check if it contains a video.
This method does not work for tweets with GIFs and does not always work because the embed might not load or might be loaded only after on_message is called.
Necessary bot permissions
The following permissions are necessary to run the bot:
- Read Messages/View Channels (Requires message content intent)
- Send Messages
- Manage Messages
- Embed Links
Related Skills
imsg
349.9kiMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.
qqbot-channel
349.9kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
100.4k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
discord
349.9kDiscord ops via the message tool (channel=discord).
