diff options
| author | 2023-04-18 18:03:02 +0800 | |
|---|---|---|
| committer | 2023-04-18 18:03:02 +0800 | |
| commit | 025020c503ef5b8dc0270197c5b1e6d4e0f8807d (patch) | |
| tree | 25f8c8d8882647e22ea0acebadafef99306f4c98 /plugins/alicebot_plugin_luck/config.py | |
| parent | 074ad0c914ae0b53ace46ed5d4c24205eacbabaa (diff) | |
| download | HydroRoll-025020c503ef5b8dc0270197c5b1e6d4e0f8807d.tar.gz HydroRoll-025020c503ef5b8dc0270197c5b1e6d4e0f8807d.zip | |
✨本体文件
Diffstat (limited to 'plugins/alicebot_plugin_luck/config.py')
| -rw-r--r-- | plugins/alicebot_plugin_luck/config.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/alicebot_plugin_luck/config.py b/plugins/alicebot_plugin_luck/config.py new file mode 100644 index 0000000..b8b3e70 --- /dev/null +++ b/plugins/alicebot_plugin_luck/config.py @@ -0,0 +1,15 @@ +from typing import Set + +from plugins.alicebot_plugin_base import CommandPluginConfig + + +class Config(CommandPluginConfig): + __config_name__ = "plugin_luck" + command: Set[str] = {"luck"} + """命令文本。""" + min_int: int = 0 + """最小随机整数。""" + max_int: int = 100 + """最大随机整数。""" + message_str: str = "{user_name}今天的运气是: {message}" + """最终发送消息的格式。""" |
