discord-invites13
v1.0.1
Published
A DiscordJS V13 Invite Logger Node Module
Downloads
16
Maintainers
Readme
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')