ghostPing
A great system to see who ghost pinged
Program
- Javascript
- Typescript
const simplydjs = require("simply-djs");
import simplydjs from "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
Arguments:
simplydjs.ghostPing(
message: Discord.Message,
options: ghostOptions
)
- message:
Discord.Message
- options:
ghostOptions
Options ghostOptions
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
embed | CustomizableEmbed | ❌ | default embed | Pass a CustomizableEmbed Object to customize the builder embed |
custom | boolean | ❌ | false | Resolve an Promise instead of sending a message (Useful for auto-moderation) |