Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Use kChat's slash commands
This guide concerns messages that start with /
on kChat interpreted as slash commands.
Run a slash command on kChat
To access the slash commands on kChat:
- Click in the editorial field within a channel.
- Enter a sign
/
(slash or oblique bar) and the command attached. - Validate to send the order.
If you only type the sign /
A modal is displayed with commands that can be executed, such as being offline e.g.
Here is a table of the main orders:
command | Description |
---|---|
/away | Mark your status as "absent" |
/offline | Mark your status as "offline" |
/online | Mark your status as "online" |
/dnd | Mark your status as "do not disturb" |
/code | used to format text as a code |
/collapse | hides the content of the item in the message |
/expand | extends the content of the item in the message |
/echo | repeat the text that follows the command |
/header | displays a header in a message |
/purpose | defines or displays the channel description |
/rename | renames the current channel |
/leave | leaves the current channel |
/mute | mutate the current channel |
/reminders | manages reminders |
/search | search for messages and other content |
/settings | Opens settings |
/shortcuts | displays keyboard shortcuts |
Create a custom slash command
Prerequisites
- Don't be an external user (he won't see the menu Integrations).
To create a custom slash command:
- Click here to access the app Web kChat (online service) kchat.infomaniak.com) or open the app desktop kChat (desktop application on macOS / Windows / Linux).
- Click on the icon New to the name of your organization kChat.
- Click on Integrations:
- Click on Slash command:
- Click the blue button for Add command:
- Configure the slash command (name, trigger (without the
/
), type of expected content, action to be executed*, etc., including if the command is to be displayed in the help modal referred to in the above chapter).- * This may include calling an external API, running a script, displaying a specific response, etc. For this, you will usually need a script or external application that will answer the commands. You can also set additional settings for the command, such as drop-down options, check boxes, etc., depending on your needs.
- Save The command.
- Make sure to test the order to make sure it works as expected.
Remember that creating custom slash commands may require additional programming skills, especially if you need to integrate custom features or interactions with external systems. Also, be sure to follow good security practices when creating these controls to avoid potential security deficiencies.
Link to this FAQ: