mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 16:28:19 +00:00
enhancement(lint): Fix lint errors for src/commands/home.ts
Co-authored-by: NeonGamerBot-QK <neon@saahild.com> Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
parent
c0f43142ad
commit
176784c6b1
1 changed files with 7 additions and 1 deletions
|
|
@ -118,7 +118,13 @@ export default class AppHome implements Command {
|
|||
type: "section",
|
||||
text: {
|
||||
type: "mrkdwn",
|
||||
text: `*RPG Ysws lb:*\n${db_entry2.map((e) => `(${e.index}) - ${e.name} ${e.treasure} :treasure-box:`).slice(0,10).join("\n")}`,
|
||||
text: `*RPG Ysws lb:*\n${db_entry2
|
||||
.map(
|
||||
(e) =>
|
||||
`(${e.index}) - ${e.name} ${e.treasure} :treasure-box:`,
|
||||
)
|
||||
.slice(0, 10)
|
||||
.join("\n")}`,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue