Telegram bot based on Social-Picker-API. Includes features like replacing links to social posts in the group chat to media and managing the group and its content and messages.
- Process links to resources, replacing them with content located at these links – see the repository Social-Picker-API and commands aboutpicker & aboutlist.
- Hide spoilers command /spoiler – see aboutspoiler.
- Welcome new users with various text & media messages and rules.
- Khaleesi-fy the text in Cyrillic characters (changes by the new text of the message that was replied to by the command
/khaleesi
) – see repo Khaleesi.JS. - Respond to a custom command with a random sticker from a pre-selected sticker pack.
- Install only necessary dependencies –
npm i --omit=dev
- Run in production mode –
npm run production
telegram.json
:-
- tokens for the Telegram
-
- list of enabled chats
-
- white-list of moderation users — disables commands timeout/cool down for them
-
- ID and/or username of the admin
-
- welcome messages, special phrases and stickers, etc.
social-picker.json
-
- service addresses and ports Social Picker API
pm2.production.json
– config for Node.js daemonpm2
nodemon.dev.json
– config development hot-reloadernodemon
admin
– utils for mailing new updates, managing Bot API sessions (cloud and local log-out); admin/README.mdcommands
– text command templates for the bot, configured at startuputil
– other various utils