Interface _HandleConfigBase_

interface _HandleConfigBase_ {
    chat_type?: "all" | ChatType[];
    description?: string;
    premission?: "all" | "groupAdmin" | "groupOwner" | "sysAdmin";
}

Hierarchy

Properties

chat_type?: "all" | ChatType[]

描述Config在哪类聊天中生效。 未指定则默认等同于 'all'

description?: string

bot所需要处理的命令提示文字。256字以内。 Description of the command; 1-256 characters.

premission?: "all" | "groupAdmin" | "groupOwner" | "sysAdmin"

描述该Config的适用权限范围 默认 'all'

Todo

'groupAdmin' 'groupOwner' 尚未实现

Generated using TypeDoc