Closed MaikoTan closed 7 months ago
The Context.current and Service.prototype.collect functions are marked as deprecated in the current version of Koishi, should we migrate them to the latest method.
Context.current
Service.prototype.collect
https://github.com/koishijs/koishi-plugin-booru/blob/a240ea26fef75e30374e179ccda749bdbdfba80b/packages/core/src/index.ts#L30-L34
N/A
Not using deprecated methods.
No response
Koishi CLI (koishi start)
Others
Describe the bug
The
Context.current
andService.prototype.collect
functions are marked as deprecated in the current version of Koishi, should we migrate them to the latest method.https://github.com/koishijs/koishi-plugin-booru/blob/a240ea26fef75e30374e179ccda749bdbdfba80b/packages/core/src/index.ts#L30-L34
Steps to reproduce
N/A
Expected behavior
Not using deprecated methods.
Screenshots
No response
Relevant log output
No response
Launcher
Koishi CLI (koishi start)
Sources
Others
Versions
Additional context
No response