Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nguyennhukhanh/x

Build Chatbot (Bard, Text to Image) in Telegram and Discord
https://github.com/nguyennhukhanh/x

Last synced: 2 days ago
JSON representation

Build Chatbot (Bard, Text to Image) in Telegram and Discord

Awesome Lists containing this project

README

        

# Description

#### My favorite framework and it's being used in this project:
- [Nest](https://docs.nestjs.com) is a framework for building efficient, scalable Node.js server-side applications.
#### Docs of the two libraries I used:
- [Telegram](https://core.telegram.org/bots/api) is an HTTP-based interface created for developers keen on building bots for Telegram.
- [Discord](https://discord.js.org/docs/packages/discord.js/main) is a powerful Node.js module that allows you to easily interact with the Discord API.

# How to add bot
- Telegram: https://telegram.me/huyeny_bot?startgroup=true
- Discord: https://discord.com/api/oauth2/authorize?client_id=1156795314389393489&permissions=8&scope=bot

# Installation

```bash
$ yarn install
```

# Running the app

```bash
# development
$ yarn run start

# watch mode
$ yarn run dev

# production mode
$ yarn run start:prod
```

# Test

```bash
# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn run test:cov
```

# Stay in touch
- Author - [Nguyễn Như Khánh](https://www.facebook.com/nhukhanh.dev)

# License

Nest is [MIT licensed](LICENSE).