aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/hydroroll/plugins/plugin_send/config.py
blob: 5b7fe7b9eb60363e6a5f4ec64cf904f9e8fc9f57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from typing import Set, Optional

from plugins.plugin_base import CommandPluginConfig


class Config(CommandPluginConfig):
    __config_name__ = "plugin_send"
    command: Set[str] = {"send"}
    """命令文本。"""
    send_user_id: int = 2753364619
    """发送消息的对象的 QQ 号码。"""
    send_success_msg: Optional[str] = "已将消息送出√"
    """发送成功时回复的消息,设置为 None 表示不发送任何消息。"""
    send_filed_msg: Optional[str] = "发送失败:{message}"
    """发送失败时回复的消息。"""