/channel slash command does not pick up hyphenated names
/channel
slash command does not pick up hyphenated names
- Hyphen:
❌ /channel foo-bar-baz
->foo
- No special characters:
✅ /channel qux
->qux
- Underscore:
✅ /channel foo_bar
->foo_bar
This was also a problem with the old create room modal. It's just a problem with our slash command regex picking up the whole argument.