Skip to content

Commit 51dd856

Browse files
authored
Merge pull request #633 from ryry013/patch-1
Make `guild.audit_logs(limit)` parameter optional
2 parents 1c17e64 + d92a5fb commit 51dd856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/guild.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2735,7 +2735,7 @@ async def vanity_invite(self) -> Optional[Invite]:
27352735
def audit_logs(
27362736
self,
27372737
*,
2738-
limit: int = 100,
2738+
limit: Optional[int] = 100,
27392739
before: Optional[SnowflakeTime] = None,
27402740
after: Optional[SnowflakeTime] = None,
27412741
oldest_first: Optional[bool] = None,

0 commit comments

Comments
 (0)