diff --git a/game/text_template.py b/game/text_template.py index c4358949..f3d39043 100644 --- a/game/text_template.py +++ b/game/text_template.py @@ -122,6 +122,8 @@ def generate_help_command_embed(command=None): example_args_list = [{"dayphase": 60, "nightphase": 30, "alertperiod": 20}] elif command == "setmode": example_args_list = [{"mode_id": "2", "on_str": "on"}] + elif command == "setroles": + example_args_list = [{"role_dict": '''[{{"Werewolf": 1, "Seer": 1, "Guard": 1, "Chief": 1, "Witch": 1}}]'''}] elif command == "setplaytime": example_args_list = [ {"time_start": "00:00", "time_end": "23:59", "time_zone": ""}, diff --git a/json/command_info.json b/json/command_info.json index 91c733cc..b0fad4b2 100644 --- a/json/command_info.json +++ b/json/command_info.json @@ -38,7 +38,7 @@ "en": "Set default player roles for a new game" }, "exclusive_roles": [], - "required_params": [] + "required_params": ["role_dict"] }, "showmodes": { "description": {