Skip to main content

ghostPing

A great system to see who ghost pinged

Program

const simplydjs = require("simply-djs");
simplydjs.ghostPing(message, {
// options (Optional)
})
INFO

This should be implemented in the messageDelete event and requires a Message Intent !

client.on('messageDelete', (message) => {
simplydjs.ghostPing() // ghostPing function
})

Output

image

Arguments:

simplydjs.ghostPing(
message: Discord.Message,
options: ghostOptions
)

Options ghostOptions

ParameterTypeRequiredDefaultDescription
embedCustomizableEmbeddefault embedPass a CustomizableEmbed Object to customize the builder embed
custombooleanfalseResolve an Promise instead of sending a message (Useful for auto-moderation)