-
-
Save KOULIKS94/c069f46eb6152b144c6f22223255bd1f to your computer and use it in GitHub Desktop.
pings
This file contains hidden or 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 { bot } = require('../lib/') | |
| bot( | |
| { | |
| pattern: 'ping ?(.*)', | |
| desc: 'To check ping', | |
| type: '*misc*', | |
| }, | |
| async (message, match) => { | |
| const start = new Date().getTime() | |
| await message.send('```Ping!```') | |
| const end = new Date().getTime() | |
| return await message.send('*```HAA HAA DETA HU RUK!```!*\n ```' + (end - start) + '``` *ms*') | |
| } | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment