简体中文 English 繁體中文 日本語 Русский
本文为静态镜像,内容以交互版为准 在交互式文档中心打开 →

Terminal Platform Features Documentation

TerminalAdapter is a command-line terminal adapter—where the terminal serves as a chat session, enabling rapid local debugging of module logic.


Documentation Information

Basic Information

Configuration Description

[Terminal]
bot_id = "terminal_bot"   # Sandbox bot ID
bot_name = "Terminal"     # Display name

v5 Paradigm Update (1.1.0)

Usage Instructions

# The module can listen to messages as usual
from ErisPulse.Core.Event import message

@message.on_message()
async def handle(event):
    if event.get("platform") == "terminal":
        await event.reply("Received: " + event.get_text())