GetCommunities
Retrieve all communities the user is a member of. Request:communities.GetCommunities → Response: communities.Communities
No parameters.
Communities
Array of community objects
Array of user-specific community information
Snowflake IDs of unavailable communities
CommunityUserInfo
Snowflake ID of the community
Number of unread messages in the community
GetChannels
Retrieve all channels in a community. Request:communities.GetChannels → Response: communities.Channels
Snowflake ID of the community
Channels
Array of conversation objects
Array of channel objects
Array of message objects
CreateCommunity
Create a new community. Request:communities.CreateCommunity → Response: ()
Name of the community
CreateChannel
Create a new channel in a community. Request:communities.CreateChannel → Response: ()
Snowflake ID of the community
Name of the channel
Type of the channel
Snowflake ID of the parent channel (optional)
DeleteChannel
Delete a channel. Request:communities.DeleteChannel → Response: ()
Reference to the channel to delete
EditChannel
Edit channel properties. Request:communities.EditChannel → Response: ()
Reference to the channel
New name for the channel (optional)
New position for the channel (optional)
Snowflake ID of the new parent channel (optional)
GetChannelMembers
Retrieve members of a channel. Request:communities.GetChannelMembers → Response: communities.MemberList
Snowflake ID of the community
Snowflake ID of the channel
Members
Array of community member objects
Array of user objects
MemberList
Array of member list entries
EditPhoto
Edit community photo. Request:communities.EditPhoto → Response: ()
Snowflake ID of the community
Reference to the uploaded photo file (optional, omit to remove photo)
GetRoles
Fetch roles in the community that the user is allowed to see. Request:communities.GetRoles → Response: communities.CommunityRoles
Snowflake ID of the community
CommunityRoles
Array of role objects
Default permissions for all members
CreateRole
Create a new role in a community. Request:communities.CreateRole → Response: ()
Snowflake ID of the community
Name of the role
Permission flags for the role
Priority/position of the role
Color of the role
Whether members are displayed separately
Whether the role is publicly assignable
EditRole
Edit an existing role. Request:communities.EditRole → Response: ()
Snowflake ID of the role
Snowflake ID of the community
Name of the role
Permission flags for the role
Priority/position of the role
Color of the role
Whether members are displayed separately
Whether the role is publicly assignable
DeleteRole
Delete a role from a community. Request:communities.DeleteRole → Response: ()
Snowflake ID of the role
Snowflake ID of the community
EditMember
Edit community member properties. Request:communities.EditMember → Response: ()
Snowflake ID of the community
Snowflake ID of the member
Member’s nickname (optional)
Member’s role assignments (optional)
CommunityMemberRoleIds
Array of role snowflake IDs
GetChannelOverrides
Retrieve permission overrides for a channel. Request:communities.GetChannelOverrides → Response: communities.ChannelOverrides
Snowflake ID of the community
Snowflake ID of the channel
ChannelOverrides
Array of channel permission overrides
CreateChannelOverride
Create a permission override for a channel. Request:communities.CreateChannelOverride → Response: communities.ChannelOverride
Snowflake ID of the community
Snowflake ID of the channel
Snowflake ID of the role
Permission overrides to apply
ChannelOverride
The created channel override
DeleteChannelOverride
Delete a permission override from a channel. Request:communities.DeleteChannelOverride → Response: ()
Snowflake ID of the community
Snowflake ID of the channel
Snowflake ID of the role
LeaveCommunity
Leave a community. Request:communities.LeaveCommunity → Response: ()
Snowflake ID of the community to leave
DeleteCommunity
Delete a community. Request:communities.DeleteCommunity → Response: ()
Snowflake ID of the community to delete
EditCommunity
Edit community properties. Request:communities.EditCommunity → Response: ()
Snowflake ID of the community
New name for the community (optional)
RemoveMembers
Remove or ban members from a community. Request:communities.RemoveMembers → Response: communities.RemovedMembers
Snowflake ID of the community
Snowflake IDs of members to remove
Unix timestamp until ban expires (optional, zero value = permanent)
Unix timestamp to delete messages from (optional)
Optional reason for removal/ban
RemovedMembers
Array of removed members
RemovedMember
Snowflake ID of the removed user
User object
Unix timestamp until ban expires (optional)
Reason for removal (optional)
GetRemovedMembers
Retrieve banned members from a community. Request:communities.GetRemovedMembers → Response: communities.RemovedMembers
Snowflake ID of the community
EditDefaultPermissions
Edit default permissions for all community members. Request:communities.EditDefaultPermissions → Response: ()
Snowflake ID of the community
New default permission flags
UnbanMembers
Unban members from a community. Request:communities.UnbanMembers → Response: ()
Snowflake ID of the community
Snowflake IDs of members to unban
GetMembers
Retrieve specific community members. Request:communities.GetMembers → Response: communities.Members
Snowflake ID of the community
Snowflake IDs of members to retrieve
EditSettings
Edit community settings. Request:communities.EditSettings → Response: communities.CommunitySettings
Snowflake ID of the community
New settings to apply
CommunitySettings
System message configuration (optional)
SystemMessages
Snowflake ID of channel for system messages (optional)
Whether to send join messages (optional)