Skip to content

Commit e2fe6a4

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1e10d7a commit e2fe6a4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -581,10 +581,10 @@ async def handle_mention(event, gh, *args, context, **kwargs):
581581
mention = context.mention
582582
583583
# Access mention details
584-
print(f"Username: {mention.username}") # "mybot"
585-
print(f"Position: {mention.position}") # Character position in comment
586-
print(f"Line: {mention.line_info.lineno}") # Line number (1-based)
587-
print(f"Line text: {mention.line_info.text}") # Full text of the line
584+
print(f"Username: {mention.username}") # "mybot"
585+
print(f"Position: {mention.position}") # Character position in comment
586+
print(f"Line: {mention.line_info.lineno}") # Line number (1-based)
587+
print(f"Line text: {mention.line_info.text}") # Full text of the line
588588
589589
# Navigate between mentions in the same comment
590590
if mention.previous_mention:

0 commit comments

Comments
 (0)