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:
zeon-neon[bot] 2025-02-24 14:17:43 +00:00 committed by GitHub
parent e595658114
commit bd64f29bf7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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",