Skip to content

Commit bac434b

Browse files
author
Diego Flores
authoredApr 10, 2024Β·Β·
Update info-speedtest.js
1 parent 8bf90ca commit bac434b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed
 

β€Žplugins/info-speedtest.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@ const handler = async (m) => {
1010
const { stdout, stderr } = o;
1111
if (stdout.trim()) {
1212
const result = stdout.trim();
13-
1413
const match = result.match(/https?:\/\/\S+/);
1514
if (match) {
1615
const imageLink = match[0];
17-
18-
await conn.sendFile(m.chat, imageLink, 'speedtest.png', 'Resultado del speedtest:');
19-
await conn.reply(m.chat, result.replace(imageLink, ''), m);
16+
await conn.sendFile(m.chat, imageLink, 'speedtest.png', `${result}`);
2017
} else {
2118
await conn.reply(m.chat, result, m);
2219
}

0 commit comments

Comments
 (0)
Please sign in to comment.