tfc-ghostpings
2.0.3 • Public • Published
npm i tfc-ghostpings@latest
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
Weekly Downloads