nix-openclaw/examples/hello-world-plugin/main.go
DJTBOT f9ad193d28 chore: remove legacy moltbot/clawdbot compatibility
What:
- drop MOLTBOT_* and CLAWDBOT_* env wiring from HM + wrappers
- update gateway log-dir patch to target current upstream logger.ts
- update config options generator to require OpenClawSchema only
- update hello-world plugin example env var + module path
- rename RFC filename to remove moltbot naming

Why:
- upstream is OpenClaw; keep nix-openclaw opinionated + clean

Tests:
- bash -n scripts/update-pins.sh
2026-02-05 13:05:01 -08:00

16 lines
279 B
Go

package main
import (
"fmt"
"os"
)
func main() {
name := os.Getenv("OPENCLAW_USER")
if name == "" {
name = "human"
}
fmt.Printf("Hello, %s. I am a very serious assistant.\n", name)
fmt.Println("Fun fact: this plugin does one thing, and it does it with conviction.")
}