Morph command update (#2641)

* changed morph command

removed demorph and adapted morph to include a reset option

* command info updated

* Update data/sql/updates/pending_db_world/rev_1580747652284896800.sql

Co-Authored-By: Barbz <BarbzYHOOL@users.noreply.github.com>

* Added subcommand system for Morph

- Subcommands
- Descriptions on database

* travis

* two single quotes query

* Update data/sql/updates/pending_db_world/rev_1580747652284896800.sql

Co-Authored-By: Barbz <BarbzYHOOL@users.noreply.github.com>

* Update data/sql/updates/pending_db_world/rev_1580747652284896800.sql

Co-Authored-By: Barbz <BarbzYHOOL@users.noreply.github.com>

* Update data/sql/updates/pending_db_world/rev_1580747652284896800.sql

Co-Authored-By: Barbz <BarbzYHOOL@users.noreply.github.com>

Co-authored-by: Barbz <BarbzYHOOL@users.noreply.github.com>
This commit is contained in:
gengarshadowball
2020-03-01 09:34:56 +00:00
committed by GitHub
parent 2eb0705668
commit 857e799298
2 changed files with 30 additions and 22 deletions

View File

@@ -0,0 +1,5 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1580747652284896800');
DELETE FROM `command` WHERE `name`='demorph';
INSERT INTO `command` (`name`, `security`, `help`) VALUES ('morph target', '1', 'Syntax: .morph target #displayid - Change the selected target''s current model id to #displayid.');
INSERT INTO `command` (`name`, `security`, `help`) VALUES ('morph reset', '1', 'Syntax: .morph reset - Doesn''t use any parameters to reset the selected target''s model');
UPDATE `command` SET `help`='Syntax: .morph $subcommand\r\nType .morph to see the list of possible subcommands or ".help morph" to see info on subcommands' WHERE `name`='morph';