mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 22:05:10 +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
e595658114
commit
bd64f29bf7
1 changed files with 13 additions and 12 deletions
|
|
@ -95,19 +95,20 @@ export default class AppHome implements Command {
|
|||
// },
|
||||
// },
|
||||
// ];
|
||||
// db entry
|
||||
const db_entry = app.db.get('15daysofcode')
|
||||
// db entry
|
||||
const db_entry = app.db.get("15daysofcode");
|
||||
const daysof15_section = [
|
||||
{
|
||||
type: "divider",
|
||||
}, {
|
||||
type: "section",
|
||||
text: {
|
||||
type: "mrkdwn",
|
||||
text: `*15 days of code:*\n${db_entry.map((e) => `${e.user} has ${e.posts.length}/15 days`).join("\n")}`,
|
||||
},
|
||||
}
|
||||
]
|
||||
{
|
||||
type: "divider",
|
||||
},
|
||||
{
|
||||
type: "section",
|
||||
text: {
|
||||
type: "mrkdwn",
|
||||
text: `*15 days of code:*\n${db_entry.map((e) => `${e.user} has ${e.posts.length}/15 days`).join("\n")}`,
|
||||
},
|
||||
},
|
||||
];
|
||||
const anon_mail_section = [
|
||||
{
|
||||
type: "divider",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue