Skip to content

Commit

Permalink
add rolemembers method to app
Browse files Browse the repository at this point in the history
  • Loading branch information
New-dev0 committed Jul 13, 2023
1 parent 16dd740 commit 9cb69bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/swibots/api/community/methods/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
from .get_group import GetGroup
from .permission import PermissionMethods
from .roles import RoleMethods
from .rolemember import RoleMemberMethods

class CommunityMethods(
GetChannel,
GetCommunity,
GetGroup,
RoleMethods,
PermissionMethods
PermissionMethods,
RoleMemberMethods
):
pass
2 changes: 1 addition & 1 deletion src/swibots/api/community/methods/permission.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class PermissionMethods:
client (swibots.ApiClient): The API client.
"""

def get_permission(
async def get_permission(
self: "swibots.ApiClient", role_id: str
) -> RolePermission | None:
"""
Expand Down

0 comments on commit 9cb69bc

Please sign in to comment.