feat: '리스트' add count

This commit is contained in:
Siwoo Jeon 2024-06-19 20:51:20 +09:00
parent 1bcd8d92ae
commit 98d0e121d3
Signed by: migan
GPG key ID: C4151385FFD2082A
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "muffinbot", "name": "muffinbot",
"version": "3.0.0-cake.d240619a", "version": "3.0.0-cake.d240619b",
"main": "dist/index.js", "main": "dist/index.js",
"private": true, "private": true,
"dependencies": { "dependencies": {

View file

@ -25,10 +25,10 @@ export default class extends Command {
embeds: [ embeds: [
{ {
title: '지식', title: '지식',
description: codeBlock( description: `총합: ${data.length}\n${codeBlock(
'md', 'md',
list.map(item => `- ${item}`).join('\n'), list.map(item => `- ${item}`).join('\n'),
), )}`,
color: 0x0000ff, color: 0x0000ff,
timestamp: new Date().toISOString(), timestamp: new Date().toISOString(),
}, },