easy-djs-logs
v1.1.3--main
Published
easy package for discord.js at version 13+
Downloads
4
Maintainers
Readme
Easy package to create tickets!
Quick Example
const Discord = require('discord.js')
const discord = require('discord.js')
const { Intents, Collection, MessageEmbed, MessageAttachment, MessageButton, MessageActionRow, APIMessage } = require('discord.js')
const intents = new Intents()
intents.add(
'GUILD_MEMBERS',
'GUILDS',
'GUILD_BANS',
'GUILD_VOICE_STATES',
'GUILD_EMOJIS_AND_STICKERS',
'GUILD_MESSAGES',
'GUILD_MESSAGE_REACTIONS'
)
const client = new Discord.Client({ intents: intents});
const manager = require('easy-logs')
manager.setLogChannel(client.channel.cache.get('012345678901234567'))
manager.channelCreate(client)
manager.channelDelete(client)
manager.channelUpdate(client)
manager.guildBanAdd(client)
manager.guildBanRemove(client)
manager.guildMemberAdd(client)
manager.guildMemberRemove(client)
manager.guildMemberUpdate(client)
manager.guildUpdate(client)
manager.messageDelete(client)
manager.messageUpdate(client)
manager.roleCreate(client)
manager.roleDelete(client)
manager.roleUpdate(client)
manager.threadCreate(client)
manager.threadDelete(client)
manager.threadUpdate(client)
manager.voiceStateUpdate(client)
client.login("TOKEN")