UNPKG

is-discord-invite

Version:

Verifies the presence of a Discord server invitation in a given string or message, with additional features for validating and confirming the authenticity and validity of the invitation link.

4 lines (3 loc) 169 B
const IsInvitation = require('../../index.js'); const result = IsInvitation.regex('https://discord.gg/invite/1234567890', { everything: true }); console.log(result);