Interface CommandExecutedEvent

内部基类

interface CommandExecutedEvent {
    args: MessageChain;
    friend: null | Friend;
    member: null | Member;
    name: string;
    reply?: undefined;
    type: "CommandExecutedEvent";
}

Hierarchy (view full)

Properties

指令的参数, 以消息类型传递

friend: null | Friend

发送命令的好友, 从控制台发送为 null

member: null | Member

发送命令的群成员, 从控制台发送为 null

name: string

命令名称

reply?: undefined

reply 辅助函数

type: "CommandExecutedEvent"