mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-16 03:32:33 +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()') |