mirror of
https://github.com/LBRYFoundation/lbry-wunderbot.git
synced 2025-09-02 18:25:18 +00:00
update clause
This commit is contained in:
parent
298479ea9c
commit
0de418b560
1 changed files with 2 additions and 6 deletions
|
@ -77,12 +77,8 @@ function checkMessageForCommand(msg, isEdit) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let alias = aliases[cmdTxt];
|
|
||||||
if (alias) {
|
let cmd = aliases.hasOwnProperty(cmdTxt) ? commands[aliases[cmdTxt]] : commands[cmdTxt];
|
||||||
var cmd = commands[alias];
|
|
||||||
} else {
|
|
||||||
var cmd = commands[cmdTxt];
|
|
||||||
}
|
|
||||||
if (cmdTxt === 'help') {
|
if (cmdTxt === 'help') {
|
||||||
//help is special since it iterates over the other commands
|
//help is special since it iterates over the other commands
|
||||||
if (suffix) {
|
if (suffix) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue