Command: [Bot Development] [22h50:34.38] Tom ping
Checking isAdmin
isAdmin = true
Checking if sender is Admin (true)
switch (command)
case 'ping' Step 1 isTomAdmin true && isBotAdmin true && IsBotChat false || IsVIP true || isAdmin true
case 'ping' Step 2
case 'ping' Step 3
case 'ping' Step 4
case 'ping' Step 5
case 'ping' Step 6
case 'ping' Step 7
case 'ping' Step 8 (Trying sendTextWithMentions)
ERROR: [22h50:34.83] Store[("add" + _0x502bb1(...) + _0x502bb1(...) + _0x502bb1(...) + _0x502bb1(...) + _0x502bb1(...) + "t")] is not a function
Error [TypeError]: Store[("add" + _0x502bb1(...) + _0x502bb1(...) + _0x502bb1(...) + _0x502bb1(...) + _0x502bb1(...) + "t")] is not a function
at window.. (evaluate at E:\AmecaCore\node_modules\@open-wa\wa-automate\dist\controllers\patch_manager.js:127:50, :0:328314)
at #evaluate (E:\AmecaCore\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\ExecutionContext.js:222:56)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ExecutionContext.evaluate (E:\AmecaCore\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\ExecutionContext.js:117:16)
at async IsolatedWorld.evaluate (E:\AmecaCore\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\IsolatedWorld.js:124:16)
at async CdpFrame.evaluate (E:\AmecaCore\node_modules\puppeteer-core\lib\cjs\puppeteer\api\Frame.js:342:20)
at async CdpPage.evaluate (E:\AmecaCore\node_modules\puppeteer-core\lib\cjs\puppeteer\api\Page.js:828:20)
case 'ping' Step 9
Elapsed time: 0.133 seconds
case 'ping' Step 15
case 'ping' Step 17
Expected Behavior
Send the message :-)
Steps To Reproduce
Run the line await client.sendTextWithMentions(from,> ${sender.id ? @${sender.id.split('@')[0]} : ''} ${message.body.split(' ')[0]} \n${randomReply}\n\nPing: ${elapsedTimeInSeconds.toFixed(3)} seconds);
Hey @TVARecordings there have been many patches since you submitted this. can you update to latest version, restart and try again please. if this continues to be an issue then feel free to bump this issue.
Are you using the latest version of the library?
What type of session are you experiencing this issue on?
Multi-device and I have set multiDevice to true in my config OR am using the --multi-device flag
What type of host account are you experiencing this issue on?
Personal account (normal)
Mode
EASY API/CLI
Current Behavior
Code returns error due framework update.
Code:
Output:
Expected Behavior
Send the message :-)
Steps To Reproduce
Run the line
await client.sendTextWithMentions(from,
> ${sender.id ?@${sender.id.split('@')[0]}
: ''} ${message.body.split(' ')[0]} \n${randomReply}\n\nPing: ${elapsedTimeInSeconds.toFixed(3)} seconds);
create() code OR full CLI command + CONFIG
DEBUG INFO
Environment
Screenshots/Logs
No response
Anything else?
This man is a legend!