Skip to content

A discord bot that reposts messages containing Twitter links with embedded videos using vxtwitter, so that they are able to play within Discord.

Notifications You must be signed in to change notification settings

BenFort/twotter-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twotter-bot

A discord bot that reposts messages containing various social media links to replace them with embed-safe versions so that they are able to be viewed within Discord.

Development Setup

  • Set up your own tester bot. Follow the instructions in the discordjs guide for Application Setup. This will also show you how to generate a token, which will be used later.
  • In the Installation tab in the Discord Developer Portal for your bot, under the Default Install Settings > Guild Install section, add the bot Scope and the following Permissions:
    • Add Reactions
    • Manage Messages
    • Send Messages
    • Send Messages in Threads
  • In the Bot tab in the Discord Developer Portal for your bot, check the Message Content Intent slider to enable it.
  • Make a .env file with your bot's token from the discordjs guide linked above. The file contents should look like this, replacing the text after the = with the token generated earlier:
DISCORD_TOKEN=your bot's token
  • In the Installation tab in the Discord Developer Portal for your bot, copy the Install Link. Open the link in your browser and Discord will prompt you to add the bot to one of your servers.
  • Run npm install to install dependencies.
  • Run node app.js to run the bot.

About

A discord bot that reposts messages containing Twitter links with embedded videos using vxtwitter, so that they are able to play within Discord.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5