added the slash command /create - to create a new channel#3585
added the slash command /create - to create a new channel#3585rodrigok merged 4 commits intoRocketChat:developfrom
Conversation
|
Why |
|
I made it to be /open so its compatible with slack |
|
It'd be neat if Also, may I ask why you've got it returning this |
|
@Deepakkothandan I don't think the |
|
@Deepakkothandan what do you think? I think that is what the users will expect. 😄 |
|
@rodrigok Thank you for pointing it out, and I misunderstood the slack command, I will rename the command to create and open another PR for /open, ok ? |
|
@Deepakkothandan awesome, thanks 😸 |
|
@rodrigok Renamed the command to /create, which is for creating a new channel |
| @@ -0,0 +1,28 @@ | |||
| function Create(command, params, item) { | |||
| var channel, room, user; | |||
| if (command !== 'open' || !Match.test(params, String)) { | |||
There was a problem hiding this comment.
Can you rename the command here?
|
@Deepakkothandan can you rename the folder too? |
|
LGTM |
|
@RocketChat/core I need one more review here 😸 |
|
LGTM |
@RocketChat/core
The PR adds a new slash command /open, which creates a new channel.