Skip to content

subhiashraf912/additional-discord-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

More Discord.JS Events

Getting Started

Use this command in your terminal to install the package.

cd project-path
npm i --save more-djs-events

How to use

const Discord = require("discord.js");
const moreDJSEvents = require("more-djs-events").default;

const intents = ["GUILDS", "GUILD_INVITES", "GUILD_MEMBERS"];
const partials = ["USER", "GUILD_MEMBER"];

const client = new Discord.Client({
  intents,
  partials,
});

moreDJSEvents(client);

//Avaliable Events (For now).
client.on("guildMemberVoiceConnect", (member, channel) => {});

client.on("guildMemberVoiceDisconnect", (member, oldChannel) => {});

client.on("guildMemberVoiceSwitch", (member, oldChannel, newChannel) => {});

client.login("token");

Are there more events?

We're just setting the bases of this package for now, We'll add a lot events soon.

Community

You can join our discord server to give us suggestions or reports Discord Server.

Github

Soon

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published