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

feat: スポイラーテキストを読み上げから除外する処理を追加 #524

Merged
merged 2 commits into from
Dec 29, 2024

Conversation

tktcorporation
Copy link
Owner

@tktcorporation tktcorporation commented Dec 29, 2024

概要

Discordのスポイラーマーク(||で囲まれたテキスト)を読み上げから除外する機能を追加しました。

変更内容

  • スポイラーテキストを検出する正規表現を追加\n- 他の除外処理(チャンネル、メンション等)と同様の方法で実装
  • テストケースを追加して動作を確認

テスト

  • 単一のスポイラーテキストの除外をテスト
  • 複数のスポイラーテキストの除外をテスト
  • CIのテストがすべて通過することを確認

- Discordのスポイラーマーク(||で囲まれたテキスト)を検出し、読み上げから除外

- 他の除外処理(チャンネル、メンション等)と同様の方法で実装

- テストケースを追加して動作を確認
`aa/123/qqq` or `123/qw/qw` どちらでも動くように
@github-actions github-actions bot added the ci label Dec 29, 2024
@tktcorporation tktcorporation merged commit 91f68eb into master Dec 29, 2024
8 of 9 checks passed
@tktcorporation tktcorporation deleted the 523/feature/spoiler branch December 29, 2024 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

スポイラーテキストの読み上げをスキップするようにする
1 participant