Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paradite/16x-bot
A telegram bot for tech telegram groups
https://github.com/paradite/16x-bot
bot hacktoberfest telegram telegram-bot
Last synced: 3 months ago
JSON representation
A telegram bot for tech telegram groups
- Host: GitHub
- URL: https://github.com/paradite/16x-bot
- Owner: paradite
- Created: 2022-11-02T16:10:55.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-01T13:56:48.000Z (over 1 year ago)
- Last Synced: 2024-04-14T11:54:20.593Z (10 months ago)
- Topics: bot, hacktoberfest, telegram, telegram-bot
- Language: JavaScript
- Homepage:
- Size: 2.94 MB
- Stars: 10
- Watchers: 2
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 16x Engineer Bot
A telegram bot designed for tech telegram groups.
Made by [16x.engineer](https://16x.engineer/).
## Features
**1. Define technical terms**
Send a message with `!bot` prefix, eg. `!bot TC`
**2. Reminder for using English**
**3. Leetcode Daily Challenge Response** (by [MrMarciaOng](https://github.com/MrMarciaOng))
Send a screenshot with caption containing "#LCYYYYMMDD", eg. `#LC20221107`
**4. Leetcode Daily Challenge Reminder** (by [Ashton](https://github.com/hahaashton1))
**5. Proxy for Din Bot**
## Using the bot
**1. Use bot in a group chat**
1. Add [16x Engineer Bot](https://t.me/my_16x_engineer_bot) to your group chat.
2. Add the bot as an administrator (no special permissions needed).
3. Send a message in the chat, eg. `!bot TC` to verify it is working.
**2. Chat with bot directly**
Search for `16x Engineer Bot` on Telegram and chat with it privately.
## Running the bot (Create your own bot)
node
```bash
$ TELEGRAM_TOKEN=XXX node index.js
```pm2
```bash
$ TELEGRAM_TOKEN=XXX pm2 start index.js
```with pgsql
```bash
$ PGUSER=dbuser \
PGHOST=database.server.com \
PGPASSWORD=secretpassword \
PGDATABASE=mydb \
TELEGRAM_TOKEN=XXX pm2 start index.js
```## Contribute
PRs welcomed!
- Add new terms: Update [docs/terms.json](https://github.com/paradite/16x-bot/blob/main/docs/terms.json)
- Bug fixes and new features: Update [index.js](https://github.com/paradite/16x-bot/blob/main/index.js)