Started work on chat autocomplete
This commit is contained in:
parent
6cb7a6223e
commit
8f45048ab6
8 changed files with 193 additions and 92 deletions
|
|
@ -143,6 +143,27 @@ class commandPreprocessor{
|
|||
return foundEmote;
|
||||
}
|
||||
|
||||
buildAutocompleteDictionary(){
|
||||
//This isn't complete, just a placeholder for now
|
||||
let dictionary = {
|
||||
tokes: [
|
||||
"toke"
|
||||
],
|
||||
serverCMD: [
|
||||
"whisper",
|
||||
"announce",
|
||||
"serverannounce",
|
||||
"clear",
|
||||
"kick"
|
||||
],
|
||||
localCMD:[
|
||||
"high"
|
||||
]
|
||||
};
|
||||
|
||||
return dictionary;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class commandProcessor{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue