Giter Club home page Giter Club logo

melatonin-bot's Introduction

melatonin-bot

melatonin-bot is a Telegram bot that reminds users about streams of selected NijiEN livers in ~20 minutes. It's built with the MOBOT Telegram API framework.

Try it out

You can try out melatonin-bot by starting a chat with @mmelatonin_bot.

Usage

Set configuration file dev.json and waves-data file data.json and run the bot.

Configuration files

dev.json

{
    "holodex_api_key" : "<api-key>",
    "telegram_bot_token" : "<api-key>",
    "sql_connection_string" : "<connection-string>",
    "startup_data_path" : "<path-to-data>",
    "max_connections" : <max-connections-amount>,
    "timer_duration_sec" : <duration-in-seconds>
}

data.json

{
    "waves": [
        {
            "name": "LazuLight",
            "members": [
                {
                    "first_name": "Pomu",
                    "last_name": "Rainpuff",
                    "emoji": "๐Ÿงš๐Ÿ‚",
                    "youtube_channel_id": "UCP4nMSTdwU1KqYWu3UH5DHQ",
                    "youtube_handle": "@pomurainpuff"
                }
            ]
        }
    ]
}

Screenshots

Waves:

waves_example_img

Members of the wave:

members_example_img

Notification:

notification_example_img

Notes

  • For now i'm using my mobot fork, where i've implemented sendPhoto function. It will change, when sendPhoto became stable.
  • Why melatonin? I got the idea after look at NijiEn-themed tg-channel named insomnia - and that name came to mind.

melatonin-bot's People

Contributors

danarmor avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.