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_dice/config.py | |
| parent | 074ad0c914ae0b53ace46ed5d4c24205eacbabaa (diff) | |
| download | HydroRoll-025020c503ef5b8dc0270197c5b1e6d4e0f8807d.tar.gz HydroRoll-025020c503ef5b8dc0270197c5b1e6d4e0f8807d.zip | |
✨本体文件
Diffstat (limited to 'plugins/alicebot_plugin_dice/config.py')
| -rw-r--r-- | plugins/alicebot_plugin_dice/config.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/alicebot_plugin_dice/config.py b/plugins/alicebot_plugin_dice/config.py new file mode 100644 index 0000000..716e753 --- /dev/null +++ b/plugins/alicebot_plugin_dice/config.py @@ -0,0 +1,13 @@ +from typing import Set + +from plugins.alicebot_plugin_base import CommandPluginConfig + + +class Config(CommandPluginConfig): + __config_name__ = "plugin_dice" + command: Set[str] = {"r", "roll", "dice"} + """命令文本。""" + max_dice_times: int = 1000 + """最大单次投掷次数。""" + exceed_max_dice_times_str: str = "错误:超过最大投掷次数。" + """超过最大单次投掷次数时的提示语。""" |
