Done Tab autocomplete with multiline

What type of bug are you reporting? Chat

What is the bug?
When writing commands on multiple lines (see Image A), tabbing the name "Snaquaza" successfully autocompletes the tab but will also act as if I were "submitting" or pressing enter, as if tab were executing the command. (see Image B)

When autocompleting commands with tab such as /mafia help (see Image C), will act as if I submitted and entered the 2nd line (see Image D) when I did not. The command in the 2nd line will also disappear.
Image A:
tJmMsnU.png


Image B:
ZOSL0t9.png


Image C:
72NRhNT.png


Image D:
wdEG52j.png



Credit to Edjeanerations for finding this bug.

Are you able to replicate it? If so, how?
Replicating the multi-line setup in Image A such as
/mafia kill Snaquaza
/mafia revealrole Sn

and then tabbing to complete Snaquaza's name.

(note this works for any command, not just mafia commands)
 
small addition/nitpick. It doesn't strictly have to be commands on multiple lines. Seems if the first line is a command, and you press tab on a second line to autocomplete a name, it'll send the second line - seen here:
 
This bug also works if you are pming yourself or anyone in pms and tab, the message will be sent to the main chat/room you are in. This has ruined a scavengers official/mafia official so far.
 
Back
Top