Skip to content

Commit

Permalink
Added missing spaces, fixed example code. (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
Faabvk authored Nov 12, 2023
1 parent bd047d3 commit 73b3b3f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions wom/services/groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ async def create_group(
clan_chat: The optional clan chat for the group. Defaults to
`None`.
description: The optional group description.Defaults to
description: The optional group description. Defaults to
`None`.
homeworld: The optional homeworld for the group. Defaults to
Expand All @@ -155,8 +155,8 @@ async def create_group(
await client.groups.create_group(
"My new group",
"Jonxslays",
"Zezima",
wom.GroupMemberFragment("Jonxslays", wom.GroupRole.Owner),
wom.GroupMemberFragment("Faabvk"),
description="The most epic group."
)
```
Expand Down Expand Up @@ -208,7 +208,7 @@ async def edit_group(
clan_chat: The optional new clan chat for the group.
Defaults to `None`.
description: The optional new group description.Defaults to
description: The optional new group description. Defaults to
`None`.
homeworld: The optional new homeworld for the group.
Expand Down Expand Up @@ -236,7 +236,10 @@ async def edit_group(
123,
"111-111-111",
name="My new group name",
members=["Jonxslays"],
members=[
wom.GroupMemberFragment("Jonxslays", wom.GroupRole.Owner),
wom.GroupMemberFragment("Faabvk")
],
description="Some new description."
)
```
Expand Down

0 comments on commit 73b3b3f

Please sign in to comment.