Clans
Clan represents a Mezon community/server and exposes channel loading, voice presence, and role helpers.
Fetch a clan
Load clan channels
load_channels() populates the clan-local channel cache from the API.
Voice users
voice_users = await clan.list_channel_voice_users()
voice_users = await clan.list_channel_voice_users(
channel_id=123456789,
limit=100,
)
limit must satisfy 0 < limit <= 500.
Roles
roles_response = await clan.list_roles(limit=100)
print(roles_response.roles)
await clan.update_role(
role_id=123,
request={"title": "Moderator"},
)