8000 fix(slack): name the bot user after the app when Slack accepts the name by geminixiang · Pull Request #180 · geminixiang/mikan · GitHub
[go: up one dir, main page]

Skip to content

fix(slack): name the bot user after the app when Slack accepts the name - #180

Merged
geminixiang merged 1 commit into
mainfrom
fix/slack-bot-name
Oct 12, 2026
Merged

geminixiang merged 1 commit into
mainfrom
fix/slack-bot-name

Conversation

@geminixiang
@geminixiang geminixiang commented Oct 12, 2026 •
Copy link
Copy Markdown
Owner

What

mikan slack set --name (and the name asked by mikan onboard) now also sets the bot user's display name, the name people see on the bot's messages. Before, the bot stayed mikan whatever the app was called, so syncing an app named Pi would have renamed its bot to mikan.

Slack accepts only letters, digits, spaces, ., _, and - (up to 80) in a bot's display name, because it derives the bot's username from it; the app name itself may be any text. For a name outside that set, such as a Chinese one, the bot stays mikan and the CLI says why, instead of sending a manifest Slack rejects.

Verification

  • apps.manifest.validate against a test app: Pi → bot Pi, valid; 小橘 and Pi 助理 → bot mikan, valid. Sending 小橘 or Pi 助理 as the bot name directly fails with bad_username; Pi! fails with invalid_name_specials.
  • Gate: 2171 tests pass
  • CI
  • Slack E2E not needed: without a configuration token, startup is unchanged.

@cloudflare-workers-and-pages
cloudflare-workers-and-pages Bot commented Oct 12, 2026 •
Copy link
Copy Markdown

Deploying mikan with  Cloudflare Pages  Cloudflare Pages

Latest commit: 45e7c21
Status: ✅  Deploy successful!
Preview URL: https://2c6f80c7.mikan-1wv.pages.dev
Branch Preview URL: https://fix-slack-bot-name.mikan-1wv.pages.dev

View logs

@geminixiang
geminixiang merged commit c76a350 into main Oct 12, 2026
6 checks passed
@geminixiang
geminixiang deleted the fix/slack-bot-name branch October 12, 2026 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects 45AE

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0