Attempt to fix not working commands
Attempt to fix not working commands by using more conventional keys
This commit is contained in:
parent
6f9c911faa
commit
68e351b7c8
|
@ -171,11 +171,11 @@ bool BotKeyboard::moderateKeyActivate(int key) {
|
||||||
App::sendBotCommand(user, user, qsl("/pattern"));
|
App::sendBotCommand(user, user, qsl("/pattern"));
|
||||||
} else if (key == Qt::Key_4) {
|
} else if (key == Qt::Key_4) {
|
||||||
App::sendBotCommand(user, user, qsl("/abuse"));
|
App::sendBotCommand(user, user, qsl("/abuse"));
|
||||||
} else if (key == Qt::Key_0 || key == Qt::Key_E) {
|
} else if (key == Qt::Key_0) {
|
||||||
App::sendBotCommand(user, user, qsl("/undo"));
|
App::sendBotCommand(user, user, qsl("/undo"));
|
||||||
} else if (key == Qt::Key_Plus || key == Qt::Key_QuoteLeft) {
|
} else if (key == Qt::Key_7) {
|
||||||
App::sendBotCommand(user, user, qsl("/next"));
|
App::sendBotCommand(user, user, qsl("/next"));
|
||||||
} else if (key == Qt::Key_Period || key == Qt::Key_S) {
|
} else if (key == Qt::Key_8) {
|
||||||
App::sendBotCommand(user, user, qsl("/stats"));
|
App::sendBotCommand(user, user, qsl("/stats"));
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue