Skip to content

Commit 38b3dba

Browse files
authored
Fix!: prevent conflict between slot and function name in guild.py (#556)
* Update guild.py * Update guild.pyi
1 parent a027b74 commit 38b3dba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

interactions/api/models/guild.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ async def set_afk_channel(
11241124
"""
11251125
return await self.modify(afk_channel_id=afk_channel_id, reason=reason)
11261126

1127-
async def afk_timeout(
1127+
async def set_afk_timeout(
11281128
self,
11291129
afk_timeout: int,
11301130
*,

interactions/api/models/guild.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ class Guild(DictSerializerMixin):
301301
*,
302302
reason: Optional[str],
303303
) -> "Guild": ...
304-
async def afk_timeout(
304+
async def set_afk_timeout(
305305
self,
306306
afk_timeout: int,
307307
*,

0 commit comments

Comments
 (0)