discord-invites13

1.0.1 • Public • Published

PACKAGE BROKEN

This package is currently broken at the moment, have been trying to work on a fix, so sorry!


discord-invites13

A DiscordJS V13 Invite Logger Node Module.


Example Build

const Discord = require('discord.js')
const client = new Discord.Client()
const invites = require('discord-invites13')
invites.loggerSetup(client) // Assigns client to the module (REQUIRED)

client.on('ready', () => {
  console.log('hello!')
});

client.on('inviteJoin', async (member, invite, inviter) => {
  console.log(`${member.user.tag} joined using invite code ${invite.code} from ${inviter.tag}. Invite was used ${invite.uses} times since its creation.`)
});

client.login('hecker_token_lol')

Credits

Package Sidebar

Install

npm i discord-invites13

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

37.9 kB

Total Files

4

Last publish

Collaborators

  • hyperz