kucherenko / blog

Test wordpress blog
MIT License
0 stars 0 forks source link

telegram bot #126

Open kucherenko opened 11 months ago

kucherenko commented 11 months ago

start telegram bot to add ability to users send links for the blog, the links save to sqlite database.

use typescript for the bot

/ai:go

brian-ai-assistant[bot] commented 11 months ago

Questions

Before start implementing task answer for clarification questions:

Task Analysis

Implementation Guidance

Git Operations

Task Estimation

Image Generation

Utility

For parameter details and further information, refer to the complete documentation.

kucherenko commented 11 months ago

Use typescript Create a table with id, url and comment columns User can send link with description to the bot and the bot save them to the database No security restrictions /ai:go

kucherenko commented 11 months ago

/ai:go

brian-ai-assistant[bot] commented 11 months ago

Questions

Before start implementing task answer for clarification questions:

Task Analysis

Implementation Guidance

Git Operations

Task Estimation

Image Generation

Utility

For parameter details and further information, refer to the complete documentation.

kucherenko commented 11 months ago

/ai:go

brian-ai-assistant[bot] commented 11 months ago

Pull request

Implement task #126 - telegram bot

I have implemented the requested task by creating a Telegram bot using TypeScript. The bot allows users to send links with descriptions, which are then saved to a SQLite database. I have created a table in the database with the columns 'id', 'url', and 'comment'. The bot does not have any security restrictions and does not perform any validations on the format of the URL. After saving the link, the bot does not provide any specific response to the user. The implementation consists of the backend code for the Telegram bot and includes the necessary dependencies, such as NestJS and TypeORM.

🤖 Brian AI Commands Cheatsheet Quick reference for Brian AI commands with brief descriptions. ### Task Analysis - **`decompose`**: Splits a task into a list of subtasks. - **`explain`**: Provides a step-by-step guide for implementing a task. ### Implementation Guidance - **`implement`**: Suggests code implementation and creates a pull request. - **`files`**: Lists files and actions needed for issue implementation. ### Git Operations - **`branch`**: Suggests a git branch name, with optional prefix. ### Task Estimation - **`estimate`**: Provides task size estimates using t-shirt sizes or custom sizes. ### Image Generation - **`imagine`**: Generates an image based on issue text and comments, with optional negative prompt. ### Utility - **`restart`**: Restarts the last executed command. For parameter details and further information, refer to the complete [documentation](https://brian-ai.com/docs).