@yukeen/openclaw-teamgaga
v0.2.1
Published
OpenClaw channel plugin for TeamGaga social platform — one-command TeamGaga AI bot setup
Maintainers
Readme
OpenClaw × TeamGaga Bot
Connects the TeamGaga bot to an OpenClaw server that is already running. Does not change the LLM or agent config—only adds a channel.
Prerequisites
openclaw gatewayis already running andopenclaw channels listworks- Node.js 22.12+ (OpenClaw requirement)
- A Bot token from the TeamGaga developer site
Three-step connect
# 1) Install the plugin
npm install -g @teamgaga/openclaw-teamgaga
# 2) One-liner
openclaw-tgg-add --bot-token <your bot token> --restart
# 3) Done. In TeamGaga, @ your bot to chat.Pure openclaw config set form (equivalent, same idea as Telegram/Discord):
openclaw config set channels.teamgaga.accounts.default.botToken <token>
openclaw config set channels.teamgaga.accounts.default.enabled true --strict-json
openclaw config set channels.teamgaga.accounts.default.apiBase https://open.teamgaga.com
openclaw config set channels.teamgaga.accounts.default.pollIntervalMs 1500 --strict-json
openclaw config set plugins.allow '["teamgaga"]' --strict-json
openclaw gateway restartVerify: have OpenClaw send a greeting
If the client does not show the bot, use this to smoke-test the path:
openclaw message send \
--channel teamgaga \
--target dm:<your TeamGaga user_id> \
--message "Hi! I'm the TeamGaga bot connected through OpenClaw."A successful response looks like:
{
"action": "send",
"channel": "teamgaga",
"payload": {
"to": "dm:115079220018696192",
"via": "direct",
"result": { "ok": true, "externalIds": ["239498614441873408"] }
}
}target conventions:
| Form | Meaning |
|------|--------|
| dm:<user_id> or user:<user_id> | DM (uses POST /users/<id>/dm to get a channel) |
| <channel_id> or channel:<id> | Post to a community channel |
Options
| Option | Description | Default |
|--------|-------------|---------|
| --bot-token <t> | Bot token (or TGG_BOT_TOKEN) | required |
| --api-base <url> | TeamGaga API base | https://open.teamgaga.com |
| --account <id> | Account id (multi-account) | default |
| --poll-interval <ms> | Poll interval (≥500) | 1500 |
| --restart | After writing config, run openclaw gateway restart | off |
| --skip-verify | Skip online /bot/v1/me check | off |
| --disabled | Write config but keep disabled | off |
Multi-account example:
openclaw-tgg-add --account bot_a --bot-token tgg_aaa
openclaw-tgg-add --account bot_b --bot-token tgg_bbb --restartUninstall
openclaw config unset channels.teamgaga
openclaw plugins disable teamgaga
openclaw gateway restartDevelopment
npm install
npm test
npm run build