crazywhalecc
5b882ad190
add 正向 ws adapter
2023-05-20 18:27:04 +08:00
crazywhalecc
f1e7dad668
remove unused trait
2023-03-11 20:42:41 +08:00
crazywhalecc
eb2e0a5e92
refactor and add some customizable context functions
2023-03-11 20:42:41 +08:00
crazywhalecc
c147c8fe22
fix issue #336
2023-03-11 20:42:41 +08:00
crazywhalecc
cb3d2ee950
fix annotation handler call, for better DI process
2023-03-11 20:42:41 +08:00
crazywhalecc
46dd439827
fix BotContext hasReplied bug
2023-03-06 23:35:16 +08:00
crazywhalecc
f1adbf1ba6
fix self property bug
2023-03-05 20:47:46 +08:00
crazywhalecc
fb17efdc52
refactor bot action sender, add BotMap to mark bot
2023-03-05 20:47:46 +08:00
crazywhalecc
00da7d14fb
add prompt update event option
2023-03-01 16:07:13 +08:00
crazywhalecc
ae742c1568
fix multiple prompt timer bug
2023-02-12 19:14:35 +08:00
crazywhalecc
7e8282cd81
**Breaking Change**: refactor BotContext::prompt return mode
2023-02-11 23:57:13 +08:00
crazywhalecc
dcce05c019
fix message convert bug
2023-02-11 19:25:08 +08:00
Jerry
ebb27a5852
update docs, and some related comments and generated codes
2023-01-30 15:35:47 +08:00
crazywhalecc
e3af231cc0
change BotActionTrait private to protected
2023-01-13 13:59:30 +08:00
Jerry
7827a702e1
Merge pull request #250 from zhamao-robot/remove-redundant
...
删除 Context
2023-01-08 17:03:48 +08:00
crazywhalecc
b33f67bb27
remove deprecated Context class
2023-01-08 16:50:19 +08:00
crazywhalecc
1487e1b216
add prompt mode
2023-01-08 16:43:30 +08:00
crazywhalecc
926b77a429
add prompt for bot context
2023-01-04 23:09:58 +08:00
crazywhalecc
d708485918
add match reply mode
2023-01-04 21:23:25 +08:00
crazywhalecc
c73a3e85aa
add coroutine waiting result for sendAction
2023-01-04 21:22:54 +08:00
crazywhalecc
4aea90cb39
add multiple bot support
2022-12-31 19:39:08 +08:00
crazywhalecc
dfcb8a4550
separate bot action method to BotActionTrait
2022-12-30 16:13:25 +08:00
crazywhalecc
80ba34351c
update to beta2
2022-12-26 20:02:47 +08:00
crazywhalecc
efda3f4408
enhancement for BotCommand and CommandArgument
2022-12-26 03:19:53 +08:00
crazywhalecc
c9bf0fb13c
prerelease of beta1
2022-12-20 23:19:55 +08:00
crazywhalecc
b2c95d96b1
refactor all base things
2022-08-14 18:15:45 +08:00
crazywhalecc
41b058aeaf
update to 3.0.0-alpha2 (build 610): refactor driver
2022-08-14 18:15:45 +08:00
sunxyw
4fe74eb5fe
replace console with logger
2022-06-08 23:14:25 +08:00
crazywhalecc
e40b3029e0
Fix context PHPDoc return type
2022-04-03 01:31:04 +08:00
crazywhalecc
17492c78fa
Fix context PHPDoc return type
2022-04-03 01:31:04 +08:00
crazywhalecc
eecbe49955
fix code to phpstan-level-2
2022-04-03 01:31:04 +08:00
sunxyw
bc7d5871e4
replace deprecated functions
2022-03-21 20:49:09 +08:00
crazywhalecc
1706afbcd0
add cs fixer and PHPStan and activate it (build 436)
2022-03-15 18:05:33 +08:00
5f2d5ed334
update to build 428
2021-11-16 16:49:32 +08:00
09220825cf
update to build 427
2021-11-16 15:41:01 +08:00
jerry
4ee16d4fc6
update to 2.5.0-b1 (build 408)
2021-06-16 00:17:30 +08:00
jerry
6155236d3c
update to v2.4.0 (build 399)
...
add CheckConfigCommand.php
add config update record docs
adjust swoole version to 4.5.0
fix stop and reload bugs
add $_running_annotation
add remote terminal
update global config
add timer tick exception handler
add zm_xxx global functions
add isAtMe(), splitCommand(), matchCommand() function for MessageUtil
add workerAction(), sendActionToWorker(), resumeAllWorkerCoroutines() functions for ProcessManager
optimize CQCommand match function
add custom TerminalCommand annotation
add TuringAPI
add getReloadableFiles() function for ZMUtil
2021-03-24 23:34:46 +08:00
e77b9d4970
update to 2.3.1 version (build 388)
...
cleanup code and fix a bug
2021-03-18 14:56:35 +08:00
jerry
a23f3d8f16
update to 2.2.9 version
...
update reply() to support quick operation
fix reload bug
fix reply() bug
2021-03-06 17:22:42 +08:00
jerry
957c69bd1e
update to 2.2.7 version
...
fix reply() bug
fix access_token bug
2021-02-27 16:19:18 +08:00
jerry
69521a1f1f
cleanup code, update some features
...
add Hitokoto API
add Closure for access_token
add working_dir() global function
adjust reply() method to .handle_quick_operation
2021-02-24 23:37:00 +08:00
jerry
776ec98a3e
fix waitMessage timeout bug
2021-01-29 22:32:29 +08:00
jerry
187a08a621
update to 2.1.6 version
...
优化代码结构
增加更多提示语
修复处理空格消息时的报错
修复上下文的bug
2021-01-18 18:08:29 +08:00
crazywhalecc
ce74191947
update docs
2021-01-05 16:19:35 +08:00
jerry
ba5b793db7
update to 2.0.0-b5 version
...
set modules config to array
add subdir index.html
update Example of Hello.php
add Exception tester for TimerMiddleware.php
add keyword for @CQCommand
rename OnWorkerStart.php to OnStart.php
remove SwooleEventAfter.php
rename HandleEvent.php to SwooleHandler.php
set ZMRobot callback mode default to true
add getNextArg() and getFullArg()
add EventDispatcher.php logger
set Exception all based from ZMException
fix recursive bug for Response.php
add single_bot_mode
add SingletonTrait.php
add bot() function
2020-12-14 01:24:34 +08:00
crazywhalecc
1ffb30a471
update to v2.0.0-b4 version
...
change global.php config load time and logic
set context get server function available more time
delete unused comment and @CQAPISend
@CQCommand add start_with and end_with
set exceptions extended by ZMException
rename @SwooleSetup to @ZMSetup
fix quotes for global.php
fix LightCache empty presistence_path error
remove RemoteShell
2020-12-10 16:37:04 +08:00
jerry
3b90bf6245
initial 2.0.0-b1 commit
2020-11-08 19:40:16 +08:00
jerry
deab5fd921
initial 2.0.0-a5 commit
...
fix waitMessage function
fix CQCommand regexMatch and fullMatch
it just works
2020-11-04 18:43:50 +08:00
jerry
29fa9d8662
initial 2.0.0-a4 commit
2020-11-03 21:02:24 +08:00
jerry
da584e0542
initial 2.0.0-a3 commit
2020-10-03 23:00:18 +08:00