examples

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Command v1 is a small demo of botbooter. It runs an "echo" bot on Slack, Discord, Telegram, WhatsApp or the local CLI.

go run ./examples/v1            # CLI mode (no credentials needed)
go run ./examples/v1 slack      # reads SLACK_APP_TOKEN / SLACK_BOT_TOKEN
go run ./examples/v1 discord    # reads DISCORD_BOT_TOKEN
go run ./examples/v1 telegram   # reads TELEGRAM_BOT_TOKEN
go run ./examples/v1 whatsapp   # reads WA_TOKEN / WA_PHONE_ID / WA_APP_SECRET / WA_VERIFY_TOKEN / WA_ADDR (and optional WA_PATH, default /webhook)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL