fix: typo

This commit is contained in:
Siwoo Jeon 2025-04-17 19:40:19 +09:00
parent 60694a8705
commit 91269265d9
Signed by: migan
GPG key ID: 036E9A8C5E8E48DA
4 changed files with 3 additions and 5 deletions

View file

@ -124,8 +124,6 @@ func dataLengthRun(s *discordgo.Session, m any) {
sum := textLength + learnLength
// 나중에 djs처럼 Embed 만들어 주는 함수 만들어야겠다
// 지금은 임시방편
embed := &discordgo.MessageEmbed{
Title: "저장된 데이터량",
Description: fmt.Sprintf("총합: %s개", utils.InlineCode(strconv.Itoa(sum))),

View file

@ -29,7 +29,7 @@ var DeleteLearnedDataCommand *Command = &Command{
Usage: fmt.Sprintf("%s삭제 (삭제할 단어)", configs.Config.Bot.Prefix),
Examples: []string{fmt.Sprintf("%s삭제 머핀", configs.Config.Bot.Prefix)},
},
Category: Chattings,
Category: Chatting,
MessageRun: func(ctx *MsgContext) {
deleteLearnedDataRun(ctx.Command, ctx.Session, ctx.Msg, &ctx.Args)
},

View file

@ -77,7 +77,7 @@ func helpRun(c *Command, s *discordgo.Session, m any, args *[]string) {
"md",
fmt.Sprintf("# 일반\n%s\n\n# 채팅\n%s",
strings.Join(getCommandsByCategory(Discommand, Generals), "\n"),
strings.Join(getCommandsByCategory(Discommand, Chattings), "\n")),
strings.Join(getCommandsByCategory(Discommand, Chatting), "\n")),
)
switch m := m.(type) {

View file

@ -55,7 +55,7 @@ var LearnCommand *Command = &Command{
fmt.Sprintf("%s배워 \"나의 아이디를 알려줘\" \"너의 아이디는 {user.id}야.\"", configs.Config.Bot.Prefix),
},
},
Category: Chattings,
Category: Chatting,
MessageRun: func(ctx *MsgContext) {
learnRun(ctx.Command, ctx.Session, ctx.Msg, &ctx.Args)
},