Pronouns labels on Bluesky
1import { BskyAgent } from "@atproto/api";
2import "dotenv/config";
3
4export const getAgent = async () => {
5 const agent = new BskyAgent({
6 service: process.env.BSKY_SERVICE ?? "https://bsky.social",
7 });
8
9 return agent;
10};
11
12BskyAgent.configure({
13 appLabelers: [process.env.DID ?? ""],
14});