Skip to content

Instantly share code, notes, and snippets.

View A-d-i-t-h-y-a-n's full-sized avatar
🎯
Focusing

Adithyan R A-d-i-t-h-y-a-n

🎯
Focusing
View GitHub Profile
const { AddModule } = require("../main");
AddModule({pattern: 'alive', fromMe: false, desc: 'Bot response in second.'}, (async (m, client) => {
var start = new Date().getTime();
var msg = await m.reply('```Ping!```');
var end = new Date().getTime();
await m.reply('*Pong!*\n```' + (end - start) + 'ms```');
}));