mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-15 19:22:24 +08:00
9 lines
308 B
Python
9 lines
308 B
Python
# 此模块已过时
|
|
# 请从 pkg.plugin.context 引入 BasePlugin, EventContext 和 APIHost
|
|
# 最早将于 v3.4 移除此模块
|
|
|
|
from . events import *
|
|
from . context import EventContext, APIHost as PluginHost
|
|
|
|
def emit(*args, **kwargs):
|
|
print('插件调用了已弃用的函数 pkg.plugin.host.emit()') |