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.
You can try out melatonin-bot by starting a chat with @mmelatonin_bot.
Set configuration file dev.json
and waves-data file data.json
and run the bot.
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"
}
]
}
]
}
Waves:
Members of the wave:
Notification:
- 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.