gckohaku / gckohaku/TrpgDiceBot

fix:「&coc <存在しないコマンド>」を送信した時に帰ってくるメッセージが不適切

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
bug good first issue
Dominant language
C#
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

「&coc <存在しないコマンド>」を送った時に返ってくるメッセージ内で、<存在しないコマンド> が入る部分が先頭の1文字しか表示されていない。

![Screenshot_20220422-144625_Discord](https://user-images.githubusercontent.com/51472484/164613420-fd3076e6-ef98-4be2-8957-751edae45a13.jpg)

これはコード内でコマンド名の先頭1文字しか指定していなかったので起こっている。

https://github.com/gckohaku/TrpgDiceBot/blob/6695b4f4e70f3d780f890bb5857151b055238a5e/Coc6CommandProcess.cs#L154

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at Coc6CommandProcess.cs line 154, linked in the issue, and inspect how the command name is inserted into the response for an unknown command. Send 「&coc 」 and confirm that the complete command text appears in the returned message; no test file is mentioned.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.