MCPcopy Create free account
hub / github.com/Slayer128/Carltech-Bot / getAllStickCmds

Function getAllStickCmds

lib/stickcmd.js:100–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98
99// Function to get all stickcmds
100async function getAllStickCmds() {
101 try {
102 const data = loadStickcmdData();
103 return Object.keys(data); // Return all command keys
104 } catch (error) {
105 console.error('Error while retrieving all stickcmds:', error);
106 return [];
107 }
108}
109
110module.exports = {
111 addstickcmd,

Callers

nothing calls this directly

Calls 1

loadStickcmdDataFunction · 0.85

Tested by

no test coverage detected