3.0.0 • Published 3 years ago
discord.js-ghost-ping v3.0.0
❯ Getting Started
❯ About
discord.js-ghost-ping is a Node.js module that allows you to detect ghost pings inside of discord.js v14!
This package comes from the developer of verified bots: @Coin Flipper#1767 - 650k users and @autoMod#8328 - 55k users
What does the package do?
- Detect Ghost Pings
- Send Messages As the Bot
Help
If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our Discord Server.
❯ Installation
Install with npm:
$ npm install discord.js-ghost-pingInstall with yarn:
$ yarn add discord.js-ghost-ping❯ Example Usage
This is a working example.
const { Client, GatewayIntentBits } = require('discord.js');
const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages] });
const GhostPing = require('discord.js-ghost-ping');
client.on('messageDelete', (...args) => {
const res = GhostPing('messageDelete', ...args);
console.log(res?.mentions || res);
});
client.on('messageUpdate', (...args) => {
const res = GhostPing('messageUpdate', ...args);
console.log(res?.mentions || res);
});
client.login(process.env['MyToken']);3.0.0
3 years ago
2.1.4
4 years ago
2.1.3
4 years ago
2.1.2
4 years ago
2.1.1
4 years ago
2.1.0
4 years ago
2.0.3
4 years ago
2.0.2
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.3.5
5 years ago
1.3.4
5 years ago
1.3.3
5 years ago
1.3.2
5 years ago
1.3.1
5 years ago
1.2.0
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago