Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit f5b12bd

Browse files
committed
slash got consumed in the consolidation
Signed-off-by: Michael Telatynski <[email protected]>
1 parent 4dba23b commit f5b12bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SlashCommands.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ import SettingsStore, {SettingLevel} from './settings/SettingsStore';
2727

2828
class Command {
2929
constructor({name, args='', description, runFn}) {
30-
this.command = name;
30+
this.command = '/' + name;
3131
this.args = args;
3232
this.description = description;
3333
this.runFn = runFn;
3434
}
3535

3636
getCommand() {
37-
return "/" + this.command;
37+
return this.command;
3838
}
3939

4040
getCommandWithArgs() {

0 commit comments

Comments
 (0)