CommunityMemberBanClient
CommunityMemberBanClient =
TypedEventEmitter<CommunityMemberBanEvents> &object
Service client for managing member bans and kicks within a community. Bans prevent users from rejoining the community, while kicks remove users without preventing them from rejoining.
Banning or kicking a member removes them from the community, sends them a notification, posts a system message to the community's default channel, and creates a community log entry. Apps cannot be banned or kicked.
Access this client via rootServer.community.communityMemberBans.
Type Declaration
create()
create(
request:CommunityMemberBanCreateRequest):Promise<CommunityMemberBan>
Bans a single member from the community. The member is removed from the community and cannot rejoin until the ban is deleted.