Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    discord-twitter-streaming-botpublic

    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

    install

    npm i discord-twitter-streaming-bot

    Downloadsweekly downloads

    26

    version

    1.9.0

    license

    Apache-2.0

    repository

    githubgithub

    last publish

    collaborators

    • avatar