Commit Graph

135 Commits

Author SHA1 Message Date
nikyoff
edd514c994 fix: remove await before bot.launch 2022-11-30 14:57:27 +03:00
Alexander Bukhalo
43816099a6
Revert "initial commit"
This reverts commit 2d23eba148.
2022-11-20 14:16:17 +03:00
Alexander Bukhalo
2d23eba148
initial commit 2022-11-20 14:13:48 +03:00
dd3603667a fix ComposerMethodArgs type 2022-08-29 20:21:46 +03:00
cf8efa4b01
fix the getNext method 2022-08-24 17:23:39 +03:00
Taymuraz Kaytmazov
295ca4ffdc
Update telegraf-all-bots.provider.ts 2022-07-09 18:53:22 +08:00
atassis
92ff5164a6
feat: create inject all bots decorator 2022-07-09 18:49:34 +08:00
atassis
9935b87d45
style: applied linter rules for all files 2022-07-09 17:40:49 +08:00
Vadim Akhtyamov
fc8b246027 fixed typo in tg-arguments-host.interface.ts 2021-09-16 21:37:59 +03:00
Aleksandr Bukhalo
34c9320d22
Merge pull request #469 from xTCry/features
Added wizard scene decorators & support multiple method listeners
2021-09-08 21:16:35 +03:00
Aleksandr Bukhalo
2195d6b9bd
Merge pull request #289 from toolstik/feature/modules-deep-scan
Allow updates and scenes to be included from nested imported modules
2021-08-05 12:13:18 +03:00
xTCry [Vladislav Kh]
623ce16327
feat(scene): added wizard scene support 2021-08-03 17:03:16 +03:00
xTCry [Vladislav Kh]
a4cb8df434
feat(listeners): support for chaining method listeners 2021-08-01 07:31:09 +03:00
Alexander Bukhalo
75e4f3761c
Revert "[Fix] Call next after handler" (#310) 2021-03-06 16:11:15 +03:00
Alexander Bukhalo
c7fe358e3b
Merge pull request #309 from Morb0/fix/call-next
[Fix] Call next after handler
2021-03-06 15:24:29 +03:00
Alexander Bukhalo
932832cc30
Merge pull request #308 from Morb0/feature/export-stage
[Feature] Export Stage provider
2021-03-06 15:24:13 +03:00
Morb0
3eff20a91d fix(explorer): call next after callback fn 2021-03-06 15:14:32 +03:00
Morb0
48c183a8ff feat(): make stage provider & export from module 2021-03-06 15:00:13 +03:00
Viktor
2718e899e9 scan modules recursively in flatMap 2021-02-22 13:20:13 +03:00
Viktor
3f4b9ce4ed do not launch bot if launchOptions are defined as 'false' 2021-02-20 06:14:27 +03:00
Morbo
a104f69b59
fix(telegraf-options): make options type partial (#249) 2021-02-03 17:32:29 +03:00
Morbo
2b48bce92a
[Fix] Async options factory (#233) 2021-01-23 19:51:46 +03:00
Morbo
0b8819665a
refactor(types): use exported options types (#232) 2021-01-23 19:51:29 +03:00
Morbo
0c50fca66e
fix(params-factory): add data propery check (#231) 2021-01-23 19:50:32 +03:00
Morbo
663ebf1a62
Update to Telegraf v4.0.0 (#212)
* feat(telegraf): update to v4.0.0

* chore(lock): update package-lock

* chore(deps): remove telegraf from dependencies

* chore(readme): update installation command

* chore(deps): add telegraf to dev dependencies
2021-01-11 16:17:32 +03:00
Morb0
daf0d8ffdf chore(telegraf-exception): remove message parsing 2021-01-06 22:47:37 +03:00
Morb0
6656c39bd9 fix(listeners-explorer): ignore empty callback return data 2021-01-06 22:35:01 +03:00
Morb0
fcaa89d097 feat(listeners-explorer): convert callback return data to string and reply 2021-01-06 20:51:26 +03:00
Morb0
4ca6e18d12 feat(param-decorators): add new paramtypes & make possible to get property from object 2021-01-06 20:49:50 +03:00
Morb0
1b8aa4ac55 refactor(metadata-accessor): remove comment & use short checking 2021-01-06 19:38:58 +03:00
Morb0
4ada932d4e fix(params-factory): use new arguments set 2021-01-06 19:37:30 +03:00
Morb0
2030f086bf feat(listeners-explorer): remove callback return value handling 2021-01-06 19:36:46 +03:00
Morb0
c32f2c72d9 chore(): export more items 2021-01-06 17:54:49 +03:00
Morb0
c867e233d6 chore(): delete unused explorer 2021-01-06 17:32:55 +03:00
Morb0
197614d90a merge refactor/v2 2021-01-06 17:28:46 +03:00
Morb0
89d7304eba feat(explorer): add custom context callback creation 2021-01-06 17:19:35 +03:00
Morb0
751b15b4b2 fix(): use bot token in di 2021-01-05 13:36:12 +03:00
Morb0
5fe60dc5b2 fix(): change botName to name 2021-01-05 12:42:41 +03:00
Morb0
75ff810c34 feat(): wip 2021-01-05 12:37:04 +03:00
Morb0
320ee3077e merge refactor/v2 2021-01-05 00:32:31 +03:00
Morb0
8fcec73afd fix(explorer): get bot on module init 2021-01-03 16:20:50 +03:00
Morb0
f13eebe685 fix(): missing decorators & refactor 2021-01-03 16:11:17 +03:00
Morb0
e75415340b fix(sample-app): make possible to run app 2021-01-03 15:35:18 +03:00
Morb0
5ada9353e9 refactor(): bot token using 2021-01-03 13:24:07 +03:00
Morb0
d48123ea38 refactor(): extract bot instace factory 2021-01-03 13:04:53 +03:00
Morb0
798494a5b2 refactor(): use ExternalContextCreator 2021-01-03 02:39:50 +03:00
Morb0
af632ea471 feat!(): add custom execution context 2021-01-03 01:30:57 +03:00
Alexander Bukhalo
832ddaf15c fix(): working after merge 2021-01-02 21:40:13 +03:00
Alexander Bukhalo
b808fb646a Merge branch 'feature/v2' of github.com:bukhalo/nestjs-telegraf into feature/multiple-instances
 Conflicts:
	lib/decorators/inject-bot.decorator.ts
	lib/index.ts
	lib/interfaces/context.interface.ts
	lib/interfaces/index.ts
	lib/interfaces/telegraf-options.interface.ts
	lib/services/metadata-accessor.service.ts
	lib/services/updates-explorer.service.ts
	lib/telegraf-core.module.ts
	lib/telegraf.constants.ts
	package-lock.json
2021-01-02 16:46:01 +03:00
Alexander Bukhalo
63fe457b58 fix(): module work restored 2021-01-02 16:37:59 +03:00