aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/hydroroll/plugins/HydroRoll_plugin_send/config.py
diff options
context:
space:
mode:
author简律纯 <hsiangnianian@outlook.com>2023-04-28 03:04:40 +0800
committer简律纯 <hsiangnianian@outlook.com>2023-04-28 03:04:40 +0800
commitc8c76cb2293001a3f5a8122e581648002033eb15 (patch)
tree26a4ded54d50d44ed8d0804f0109d4c38ac511d2 /hydroroll/plugins/HydroRoll_plugin_send/config.py
parent57a8f67b27aa617b7a993477231b3d6978f4f842 (diff)
downloadHydroRoll-0.1.0.tar.gz
HydroRoll-0.1.0.zip
Diffstat (limited to 'hydroroll/plugins/HydroRoll_plugin_send/config.py')
-rw-r--r--hydroroll/plugins/HydroRoll_plugin_send/config.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/hydroroll/plugins/HydroRoll_plugin_send/config.py b/hydroroll/plugins/HydroRoll_plugin_send/config.py
new file mode 100644
index 0000000..6903c0f
--- /dev/null
+++ b/hydroroll/plugins/HydroRoll_plugin_send/config.py
@@ -0,0 +1,15 @@
+from typing import Set, Optional
+
+from plugins.hydroroll_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}"
+ """发送失败时回复的消息。"""