Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix!: prevent conflict between slot and function name in guild.py #556

Merged
merged 2 commits into from Feb 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion interactions/api/models/guild.py
Expand Up @@ -1124,7 +1124,7 @@ async def set_afk_channel(
"""
return await self.modify(afk_channel_id=afk_channel_id, reason=reason)

async def afk_timeout(
async def set_afk_timeout(
self,
afk_timeout: int,
*,
Expand Down
2 changes: 1 addition & 1 deletion interactions/api/models/guild.pyi
Expand Up @@ -301,7 +301,7 @@ class Guild(DictSerializerMixin):
*,
reason: Optional[str],
) -> "Guild": ...
async def afk_timeout(
async def set_afk_timeout(
self,
afk_timeout: int,
*,
Expand Down