# Why Does Mattermost Copilot Ignore Custom Slash Commands in Channel Context?

**URL:** <https://forum.mattermost.com/t/why-does-mattermost-copilot-ignore-custom-slash-commands-in-channel-context/24437>\
**Category:** Agents & AI\
**Created:** [July 20, 2025, 1:58pm UTC](https://forum.mattermost.com/t/why-does-mattermost-copilot-ignore-custom-slash-commands-in-channel-context/24437 "2025-07-20T13:58:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![reyiyeb](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@reyiyeb](https://forum.mattermost.com/u/reyiyeb)\
**Post date:** [July 20, 2025, 1:58pm UTC](https://forum.mattermost.com/t/why-does-mattermost-copilot-ignore-custom-slash-commands-in-channel-context/24437/1 "2025-07-20T13:58:14Z")

</div>

Hello

We have been testing Mattermost Copilot in a DevOps-heavy environment and noticed an issue when using custom slash commands in channels where Copilot is active. 🙂 The AI assistant responds to natural language prompts just fine but when we attempt to invoke a predefined slash command (e.g., `/deploy-status`); Copilot either ignores it completely / responds with unrelated generic text; rather than allowing the backend system to handle the command. 😇

The same slash command works perfectly when Copilot is disabled in the channel; which leads us to believe that Copilot might be intercepting / misinterpreting the command before it reaches the custom integration handler. 🤔

This is especially problematic when those commands are used for triggering CI/CD tools or fetching system logs. Checked [Mattermost Agents - Mattermost](https://mattermost.com/marketplace/mattermost-agents/#:~:text=Mattermost%20Copilot%20brings%20LLM%20capabilities,multiple%20AI%20services%20of%20choice). related to this and found very helpful. 🙂While exploring tools like Alteryx and learning [what is alteryx](https://www.igmguru.com/blog/what-is-alteryx) used for in data automation; it’s clear that reliable command execution like slash commands in Mattermost is key to smooth integration. 😇

Is there a way to configure Copilot to bypass or defer to registered slash commands? 🤔 Or should we consider restructuring our commands to avoid overlap with AI context triggers?

Thank you !! 🙂

---

<div class="post-metadata">

**Author:** ![john.combs](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/john.combs/32/7118_2.png) [@john.combs](https://forum.mattermost.com/u/john.combs)\
**Post date:** [July 23, 2025, 12:29am UTC](https://forum.mattermost.com/t/why-does-mattermost-copilot-ignore-custom-slash-commands-in-channel-context/24437/2 "2025-07-23T00:29:34Z")

</div>

Thank you for the thoughtful feedback, reyiyeb! As of now, I don’t believe Copilot offers built-in configuration to bypass or defer to registered slash commands, but this is a great suggestion. I’d recommend opening a new feature request on our [UserVoice portal](https://mattermost.uservoice.com/forums/306457-general) so our product team can track and prioritize it.
