Skip to content

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.

License

Notifications You must be signed in to change notification settings

DanArmor/melatonin-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages