Skip to content

refactor thread creation flow  #1111

@ankitsmt211

Description

@ankitsmt211

Is your feature request related to a problem? Please describe.

current thread creation flow involves retrieving the same message at least times at top level, which is lets just say not very optimal.
Describe the solution you'd like

The idea is to avoid retrieving same message again and again and pass it further down the chain so it can be later used inside pinned logic.
Additional context

The chain looks much simpler at top level, but it has a lot of moving parts.

HelpThreadCreatedListener-> application/src/main/java/org/togetherjava/tjbot/features/help/HelpThreadCreatedListener.java
method-> HelpThreadCreatedListener#handleHelpThreadCreated

Metadata

Metadata

Assignees

Labels

enhance commandModify or improve an existing command or group of commands of the botpriority: normal

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions