refactor: deprecate register_star decorator

This commit is contained in:
Raven95676
2025-07-04 15:39:31 +08:00
parent 98d3ab646f
commit edbb856023
16 changed files with 69 additions and 70 deletions

View File

@@ -94,12 +94,6 @@ DEFAULT_CONFIG = {
PATH = os.path.join(get_astrbot_data_path(), "config", "python_interpreter.json")
@star.register(
name="astrbot-python-interpreter",
desc="Python 代码执行器",
author="Soulter",
version="0.0.1",
)
class Main(star.Star):
"""基于 Docker 沙箱的 Python 代码执行器"""