Skip to content

Instantly share code, notes, and snippets.

@mrluther-on
Created February 9, 2025 08:18
Show Gist options
  • Save mrluther-on/f1ba6cd11af63fd9ed23d572cbdc351e to your computer and use it in GitHub Desktop.
Save mrluther-on/f1ba6cd11af63fd9ed23d572cbdc351e to your computer and use it in GitHub Desktop.
const { bot } = require('../lib/')
bot(
{
pattern: 'ping ?(.*)',
desc: 'To check ping',
type: 'misc',
},
async (message, match) => {
const start = new Date().getTime()
await message.send('```HAA HAA DETA HU RUK!```')
const end = new Date().getTime()
return await message.send('*YEE LEH DEKHH *╰┈➤𝐒𝐔𝚩𝚫𝚪𝐔👑🖤🎧*
!*\n ```' + (end - start) + '``` *ms*')
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment