tfc-ghostpings
v2.0.3
Published
A Package That Helps You With Ghost Pings In Discord.js
Downloads
10
Maintainers
Readme
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]})
})