Packages › trotsky › StepActorMute
StepActorMute class
Represents a step that performs an actor mute operation using the Bluesky API.
Signature:
typescript
export declare class StepActorMute<P = StepActor, C extends StepActorOutput = StepActorOutput, O = null> extends Step<P, C, O>Extends: Step<P, C, O>
Example 1
Mute a specific actor:
ts
await Trotsky.init(agent)
.actor("spammer.bsky.social")
.mute()
.run()Example 2
Mute actors with specific criteria:
ts
await Trotsky.init(agent)
.searchPosts({ q: "spam keyword" })
.take(10)
.each()
.author()
.mute()
.wait(1000)
.run()Methods
Method | Modifiers | Description |
|---|---|---|
Applies the step by performing a mute operation. Requires the context to provide the |