Logo
Explore Help
Register Sign In
injectlib/LangBot
1
0
Fork 0
You've already forked LangBot
mirror of https://github.com/langbot-app/LangBot.git synced 2025-11-25 19:37:36 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
7e2b180ea5f4b59d951b09f015071f0a58749daa
LangBot/pkg/plugin/host.py

10 lines
251 B
Python
Raw Normal View History

feat: 新的引入路径
2024-03-20 15:48:11 +08:00
# 此模块已过时
# 请从 pkg.plugin.context 引入 BasePlugin, EventContext 和 APIHost
# 最早将于 v3.4 移除此模块
style: introduce ruff as linter and formatter (#1356) * style: remove necessary imports * style: fix F841 * style: fix F401 * style: fix F811 * style: fix E402 * style: fix E721 * style: fix E722 * style: fix E722 * style: fix F541 * style: ruff format * style: all passed * style: add ruff in deps * style: more ignores in ruff.toml * style: add pre-commit
2025-04-29 17:24:07 +08:00
from .events import *
feat: 基本插件加载功能
2023-01-13 16:49:56 +08:00
refactor: 重构插件系统
2024-01-29 21:22:27 +08:00
def emit(*args, **kwargs):
style: introduce ruff as linter and formatter (#1356) * style: remove necessary imports * style: fix F841 * style: fix F401 * style: fix F811 * style: fix E402 * style: fix E721 * style: fix E722 * style: fix E722 * style: fix F541 * style: ruff format * style: all passed * style: add ruff in deps * style: more ignores in ruff.toml * style: add pre-commit
2025-04-29 17:24:07 +08:00
print('插件调用了已弃用的函数 pkg.plugin.host.emit()')
Reference in New Issue Copy Permalink
Managed by MacWk.CN Version: 1.25.0 Page: 87ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API