Skip to main content

ghostPing

This is an example of ghostPing

With Customization

const simplydjs = require("simply-djs");

messageDelete Event

// messageDelete Event
simplydjs.ghostPing(message, {
logChannel: 'channel id',

embedDesc: 'desc',
embedColor: 'hex color',
embedFoot: 'Footer'
// (Or)
embed: embed
})
INFO

Without Customization

messageDelete Event

// messageDelete Event
simplydjs.ghostPing(message);

Output

image

Options for ghostPing function

OptionsTypeRequiredDefaultDescription
embedEmbedโœ˜embedEmbed that sends when there is a ghost Ping
embedDescStringโœ˜(a long message)Embed Description
embedColorHex Codeโœ˜#075FFFColor of the embed
embedFootStringโœ˜Ghost Ping oopFoot of the embed (Need to make credits: false)
logChannelChannel IDโœ˜noneChannel ID to log ghost ping
creditBooleanโœ˜trueCredit the package