Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

!rolecreate で指定するロール名にスペースを使えるようにする #932

Open
2 tasks done
m1sk9 opened this issue Aug 3, 2023 · 0 comments
Open
2 tasks done
Labels
C-improvement Category: improvement T-@oreorebot2/bot Type: OreOreBot2 Bot (packages/bot)

Comments

@m1sk9
Copy link
Contributor

m1sk9 commented Aug 3, 2023

機能要望の提出を行う前に

  • すでに同じ機能要望を行うIssueが存在しないか確認しましたか?
  • この要望を実現する保証はありません。よろしいですか?

要望の概要

!rolecreate は現在第一引数にロール名を要求するがスペースが使用できない (スペースを使用すると引数がずれ、 HEX 受付先でエラーになる)

この第一引数を "" などでパースする仕組みに変更して、スペースを使えるようにする

代替え案

!rolecreate の引数順を変更すれば比較的カンタンに実装できると思う (それがいいかどうかは置いといて)

CleanShot 2023-08-03 at 17 47 18@2x

https://haracho.approvers.dev/references/commands/role-create

追加情報

No response

@m1sk9 m1sk9 added C-enhancement Category: enhancement T-OreOreBot2 C-improvement Category: improvement and removed C-enhancement Category: enhancement labels Aug 3, 2023
@m1sk9 m1sk9 added the T-@oreorebot2/bot Type: OreOreBot2 Bot (packages/bot) label Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-improvement Category: improvement T-@oreorebot2/bot Type: OreOreBot2 Bot (packages/bot)
Projects
None yet
Development

No branches or pull requests

1 participant