tfc-ghostpings

2.0.3 • Public • Published

TFC Ghost Pings

Installation⭐

npm i tfc-ghostpings@latest

Usage✨

const tfcghost = require('tfc-ghostpings')
const Discord = require('discord.js')
const { Intents } = require('discord.js')
const client = new Discord.Client({ intents: 32767 })
tfcghost.ghostping(client)


client.on("ghostPing", (message, pinger, pinged, mcontent) => {
    const embed = new Discord.MessageEmbed()
    .setTitle('👻 Ghost Ping Detected! 👻')
    .addField('Author:', `${pinger}`, true)
    .addField('Person That Got Pinged', `${pinged}`, true)
    .addField('Content:', `${mcontent}`, true)
    .setColor('RANDOM')
    .setTimestamp()
    message.channel.send({embeds: [embed]})
})

Package Sidebar

Install

npm i tfc-ghostpings

Weekly Downloads

16

Version

2.0.3

License

ISC

Unpacked Size

1.72 kB

Total Files

3

Last publish

Collaborators

  • tfcmah