Skip to content

Commit 3554ad4

Browse files
tweak
1 parent e2fe6a4 commit 3554ad4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -563,15 +563,13 @@ The library loads either async or sync versions of these handlers based on your
563563
564564
The `@gh.mention` decorator provides a powerful way to build interactive GitHub Apps that respond to mentions in comments. When users mention your app (e.g., `@mybot help`), the decorator automatically detects these mentions and routes them to your handlers.
565565
566-
#### How It Works
567-
568566
The mention system:
569567
1. Monitors incoming webhook events for comments containing mentions
570568
2. Extracts all mentions while ignoring those in code blocks, inline code, or blockquotes
571569
3. Filters mentions based on your specified criteria (username pattern, scope)
572570
4. Calls your handler once for each matching mention, providing rich context
573571
574-
#### Mention Context
572+
#### Context
575573
576574
Each handler receives a `context` parameter with detailed information about the mention:
577575

0 commit comments

Comments
 (0)