Skip to content

Commit c41832b

Browse files
authored
fix: fix incorrect typehint in audit log helper method (#1108)
1 parent b317aef commit c41832b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interactions/api/models/guild.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2722,14 +2722,14 @@ async def get_latest_audit_log_action(
27222722
AuditLogEvents,
27232723
int,
27242724
Member,
2725-
Tuple[Union[User, Member, Snowflake, int], Union[AuditLogs, int]],
2725+
Tuple[Union[User, Member, Snowflake, int], Union[AuditLogEvents, int]],
27262726
],
27272727
) -> AuditLogs:
27282728
"""
27292729
Gets the latest audit log action of either a user or an action type
27302730
27312731
:param of: The user, user id or action type to look for
2732-
:type of: Union[User, Snowflake, AuditLogEvents, int, Tuple[Union[User, Snowflake, int], Union[AuditLogs, int]]]
2732+
:type of: Union[User, Snowflake, AuditLogEvents, int, Tuple[Union[User, Snowflake, int], Union[AuditLogEvents, int]]]
27332733
:return: The latest AuditLog action that applies to the ``of`` parameter
27342734
:rtype: AuditLogs
27352735
"""

0 commit comments

Comments
 (0)