11 lines
No EOL
307 B
JavaScript
11 lines
No EOL
307 B
JavaScript
async function inject (client) {
|
|
var players = [];
|
|
const tab_complete_list = await client.tab_complete("/v ");
|
|
for (const player in tab_complete_list) {
|
|
players.push(tab_complete_list[player].match);
|
|
}
|
|
client.players = players;
|
|
return players;
|
|
}
|
|
|
|
module.exports = { inject }; |