v0.4 — User Commands

v0.4 — User Commands#

/nb bind#

Manage cross-platform account bindings for @mention routing.

Command
Description
/nb bind setupGenerate a 6-digit binding code (valid for 5 minutes)
/nb bind confirm <code>Confirm a binding code from another platform
/nb bind rm [instance_id]Remove a specific binding or all bindings
/nb bind listList all linked accounts

/nb notify#

Control which bound platforms receive @mention notifications.

Config toggle: global.mention_notify_control (default true). Set to false to disable this feature globally.

Command
Description
/nb notify mode allReceive @mention notifications on all bound platforms (default)
/nb notify mode whitelistOnly receive notifications on explicitly added platforms
/nb notify mode blacklistReceive notifications on all platforms except listed ones
/nb notify add <instance_id>Add a platform to the whitelist/blacklist (e.g. qq, discord, telegram)
/nb notify rm <instance_id>Remove a platform from the list
/nb notify listShow current notification preference

Modes#

  • all — Default. All bound platforms receive @mention notifications.

  • whitelist — Only platforms added via notify add receive notifications.

  • blacklist — All platforms except those added via notify add receive notifications.

Example#

/nb notify mode whitelist
/nb notify add discord
/nb notify add qq
/nb notify list

After this setup, @mention notifications are only delivered to Discord and QQ bound accounts, even if Telegram is also bound.

/ping#

Look up a user by nickname across platforms and tag them.

/ping <nickname>

Configuration#

mention_notify_control#

yaml
global:
  mention_notify_control: true   # default: enable /nb notify
  mention_notify_control: false  # disable the feature entirely

When disabled, all bound platforms always receive @mention notifications, and /nb notify commands return a disabled hint.