Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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`


Define technical terms

**2. Reminder for using English**


Reminder for using English

**3. Leetcode Daily Challenge Response** (by [MrMarciaOng](https://github.com/MrMarciaOng))

Send a screenshot with caption containing "#LCYYYYMMDD", eg. `#LC20221107`


Leetcode Daily Challenge Response

**4. Leetcode Daily Challenge Reminder** (by [Ashton](https://github.com/hahaashton1))


Leetcode Daily Challenge Reminder

**5. Proxy for Din Bot**


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.


Add the bot as an administrator

**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)