discord-twitter-streaming-bot

1.9.0 • Public • Published

discord-twitter-streaming-bot

Create live streams from twitter users to discord channels

Install

npm install --save discord-twitter-streaming-bot

Configure

Create and populate a ~/.config/discord-twitter-streaming-bot/config.json file from the following template

{
    "discord_token" : "xxxx.xxxx.xxxx",
    "twitter" : {
        "consumer_key" : "xxxx",
        "consumer_secret" : "yyyy",
        "token_key" : "zzzz-zzzz",
        "token_secret" : "honeypot"
    },
 
    "streams" : {
        "favorite_user" : {
            "twitter_id" : "123456789",
            "discord_channel_id" : "09876543211234567890"
        },
        "favorite_news" : {
            "twitter_id" : "246886422",
            "discord_channel_id" : "10293847565748392010"
        }
    }
}

Note that all queries to external services rely on id numbers, and all labels are for human convenience only.

Use

discord-twitter-streaming-bot

Or launch with docker-compose to ensure the process stays alive

npm run docker

/discord-twitter-streaming-bot/

    Package Sidebar

    Install

    npm i discord-twitter-streaming-bot

    Weekly Downloads

    14

    Version

    1.9.0

    License

    Apache-2.0

    Last publish

    Collaborators

    • hamroctopus