Skip to content
Automation
Command

/discord

Show Discord bot status and manage global session

BOOST
From plugin
moazbuilds-claudeclaw
1.3k10 skills10 commands
Install
> /plugin marketplace add moazbuilds/claudeclaw
> /plugin install claudeclaw@claudeclaw

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/discord

Context preview

What this command does when you run it.

Show Discord bot status and manage global session

Command definition

discord.md
description: Show Discord bot status and manage global session

Show the Discord bot integration status. Check the following:

1. **Configuration**: Read `.claude/claudeclaw/settings.json` and check if `discord.token` is set (show masked token: first 5 chars + "..."). Show `allowedUserIds`.

2. **Global Session**: Read `.claude/claudeclaw/session.json` and show:

  • Session UUID (first 8 chars)
  • Created at
  • Last used at
  • Note: This session is shared across heartbeat, cron jobs, Telegram, and Discord messages.

3. **If $ARGUMENTS contains "clear"**: Delete `.claude/claudeclaw/session.json` to reset the global session. Confirm to the user. The next run from any source (heartbeat, cron, Telegram, or Discord) will create a fresh session.

4. **Running**: Check if the daemon is running by reading `.claude/claudeclaw/daemon.pid`. The Discord bot runs in-process with the daemon when a token is configured.

Format the output clearly for the user.

Ships withmoazbuilds-claudeclaw

A lightweight, open-source OpenClaw version built into your Claude Code.

Get the whole plugin
Stats
1,324
Stars
243
Forks
Maintained
Maintenance
TypeScript
Language
MIT
License
2mo ago
Last commit
7mo ago
Created
1d ago
Added

Repo: moazbuilds/claudeclaw

Other commands on moazbuilds-claudeclaw.