telegram-robbot
v0.0.1
Published
Rob is a telegram bot I write for fun -- it is not packed with certainly useful features, but knows some cool stuff.
Downloads
5
Maintainers
Readme
Rob is a telegram bot I write for fun -- it is not packed with certainly useful features, but knows some cool stuff.
Commands
/add [todo text] -- adds a todo item with the text specified /list -- lists all todos /del [note id] -- deletes the todo item with the id specified /grabmyid -- replies the telegram id of the user executing the command /hacktelegram -- hacks telegram, just for ya /battle [name] -- starts a rap battle against the user specified.
Looks cool? Let's set it up!
Setup
The bot is made to be hosted on https://glitch.com. It's development is most active there, the github repo is just a mirror.
- Register a Glitch account
- Remix my glitch project: https://glitch.com/freedomzonebot
- Speak with @botfather on telegram and create a bot
- Fill in .env: TELEGRAM_BOT_TOKEN is the bot token you received from BotFather, USER_IDs are the trusted telegram IDs (who can perform todo actions). You can get your id with the /grabmyid command.
- Set up Uptime Robot to ping your bot every 5 minutes. This is not mandatory, but this keeps the bot "awake". If it ever sleeps, just go to the url yourprojectname.glitch.me (in my case freedomzonebot.glitch.me) and the bot is awake
Small disclaimer: the telegram hacking command is just for fun. It doesn't do any damage to anyone, and, Pavel Durov never said that robots took over telegram.