Created
June 19, 2022 06:27
-
-
Save A-d-i-t-h-y-a-n/9316b919189abef79d5c944b775a7c75 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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```'); | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment