Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@evalexpr
Copy link
Contributor

@evalexpr evalexpr commented Jan 16, 2026

Summary

Discord is currently broken on main with the most recent commit.

  • Discord slash commands have a 100 character limit for descriptions
  • The recent skill commands feature didn't truncate descriptions, causing command registration to fail with an empty error from the Discord API
  • Adds truncation with ellipsis for descriptions over 100 characters

Test plan

  • Added unit test for truncation behavior
  • CI passes

Discord slash commands have a 100 character limit for descriptions.
Skill descriptions were not being truncated, causing command registration
to fail with an empty error from the Discord API.
@thewilloftheshadow thewilloftheshadow merged commit bb14b19 into openclaw:main Jan 16, 2026
22 checks passed
@thewilloftheshadow
Copy link
Member

Merged via squash.

Merge commit: bb14b19

@evalexpr evalexpr deleted the fix/discord-skill-command-description-truncation branch January 16, 2026 16:02
rsneh pushed a commit to rsneh/clawdbot that referenced this pull request Jan 21, 2026
…enclaw#1018)

* fix: truncate skill command descriptions to 100 chars for Discord

Discord slash commands have a 100 character limit for descriptions.
Skill descriptions were not being truncated, causing command registration
to fail with an empty error from the Discord API.

* style: format

* style: format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants