You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
slash got consumed in the consolidation
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -27,14 +27,14 @@ import SettingsStore, {SettingLevel} from './settings/SettingsStore';
|
|||||||
|
|
||||||
class Command {
|
class Command {
|
||||||
constructor({name, args='', description, runFn}) {
|
constructor({name, args='', description, runFn}) {
|
||||||
this.command = name;
|
this.command = '/' + name;
|
||||||
this.args = args;
|
this.args = args;
|
||||||
this.description = description;
|
this.description = description;
|
||||||
this.runFn = runFn;
|
this.runFn = runFn;
|
||||||
}
|
}
|
||||||
|
|
||||||
getCommand() {
|
getCommand() {
|
||||||
return "/" + this.command;
|
return this.command;
|
||||||
}
|
}
|
||||||
|
|
||||||
getCommandWithArgs() {
|
getCommandWithArgs() {
|
||||||
|
|||||||
Reference in New Issue
Block a user