3.0.0 • Published 1 year ago

discord.js-ghost-ping v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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-ping

Install 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

1 year ago

2.1.4

2 years ago

2.1.3

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.3.5

3 years ago

1.3.4

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.2.0

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago