MCPcopy Create free account
hub / github.com/bnjbvr/trinity / on_admin

Method on_admin

modules/libcommand/src/lib.rs:150–150  ·  view source on GitHub ↗

Handle a message received by an admin, prefixed with the `!admin` subject. By default this does nothing, as admin commands are facultative.

(_client: &mut CommandClient, _command: &str)

Source from the content-addressed store, hash-verified

148 ///
149 /// By default this does nothing, as admin commands are facultative.
150 fn on_admin(_client: &mut CommandClient, _command: &str) {}
151}

Callers

nothing calls this directly

Implementers 9

lib.rsmodules/linkify/src/lib.rs
lib.rsmodules/uuid/src/lib.rs
lib.rsmodules/silverbullet/src/lib.rs
lib.rsmodules/pun/src/lib.rs
lib.rsmodules/horsejs/src/lib.rs
lib.rsmodules/openai/src/lib.rs
lib.rsmodules/memos/src/lib.rs
lib.rsmodules/secret/src/lib.rs
lib.rsmodules/mastodon/src/lib.rs

Calls

no outgoing calls

Tested by

no test coverage detected