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
Options for ghostPing function
Options | Type | Required | Default | Description |
---|---|---|---|---|
embed | Embed | โ | embed | Embed that sends when there is a ghost Ping |
embedDesc | String | โ | (a long message) | Embed Description |
embedColor | Hex Code | โ | #075FFF | Color of the embed |
embedFoot | String | โ | Ghost Ping oop | Foot of the embed (Need to make credits: false) |
logChannel | Channel ID | โ | none | Channel ID to log ghost ping |
credit | Boolean | โ | true | Credit the package |