Echo bot for Telegram
- TypeScript 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Nixpacks gets Bun from nixpkgs, which only has 1.3.13 at our pin, so the setup phase points nixpkgs' bun package at the official 1.4.4 release zip (hash pinned). Remove the override once nixpkgs has bun >= 1.4.4. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
| .github | ||
| .env.sample | ||
| .gitignore | ||
| app.ts | ||
| bun.lock | ||
| jsconfig.json | ||
| LICENSE | ||
| nixpacks.toml | ||
| package.json | ||
| README.md | ||
@yohoho_bot Telegram bot code
This is the code for the echo bot I've built. Got tired of trying to figure out chat ids, user ids, forwards, etc. So you can forward (or send) any message to this bot and get a response with literally the update message bot received from Telegram with all the info
Installation and local launch
- Clone this repo:
git clone https://github.com/backmeupplz/yohoho - Create
.envwith the environment variables listed below - Run
yarn installin the root folder - Run
yarn start
And you should be good to go! Feel free to fork and submit pull requests. Thanks!
Environment variables
TOKEN— Telegram bot token
Also, please, consider looking at .env.sample.
Continuous integration
Any commit pushed to master gets deployed to @yohoho_bot via CI Ninja.
License
MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!