Skip to content

Commit 6c7335c

Browse files
committed
fix the lint
1 parent 3e82d4c commit 6c7335c

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

src/tools/createRichMenu.ts

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,25 +35,29 @@ export default class CreateRichMenu extends AbstractTool {
3535
server.tool(
3636
"create_rich_menu",
3737
"Create a rich menu based on the given actions." +
38-
"Generate and upload a rich menu image based on the given action." +
39-
"This rich menu will be registered as the default rich menu.",
38+
"Generate and upload a rich menu image based on the given action." +
39+
"This rich menu will be registered as the default rich menu.",
4040
{
41-
chatBarText: z.string().describe("Text displayed in the chat bar and this is also used as name of the rich menu to create."),
41+
chatBarText: z
42+
.string()
43+
.describe(
44+
"Text displayed in the chat bar and this is also used as name of the rich menu to create.",
45+
),
4246
actions: z
4347
.array(actionSchema)
4448
.min(1)
4549
.max(6)
4650
.describe(
4751
"The actions array for the rich menu. Accepts 1-6 items." +
48-
"Each action defines a button's behavior in the rich menu layout." +
49-
"The buttons will be automatically arranged in a grid."
52+
"Each action defines a button's behavior in the rich menu layout." +
53+
"The buttons will be automatically arranged in a grid.",
5054
),
5155
richMenuAliasId: z
5256
.string()
5357
.describe(
5458
"The alias of the rich menu." +
55-
"This is required when creating a rich menu that can be switched to from another rich menu using the richmenuswitch action type." +
56-
"The alias serves as a unique identifier for the target rich menu",
59+
"This is required when creating a rich menu that can be switched to from another rich menu using the richmenuswitch action type." +
60+
"The alias serves as a unique identifier for the target rich menu",
5761
)
5862
.optional(),
5963
},

0 commit comments

Comments
 (0)