1.0.9 • Published 2 years ago

discord-addons v1.0.9

Weekly downloads
11
License
ISC
Repository
github
Last release
2 years ago

📰 Instructions

  • The package only work for V12 and highter
  • Install discord-addons package npm install discord-addons discord.js
  • Import discord.js and discord-addons like :
const Discord = require("discord.js");
const { Events } = require("discord-addons");
const client = new Discord.Client();

new Events(client);

// Example with guildNameUpdate

client.on("guildNameUpdate", async (guild, oldName, newName) => {
  console.log(
    `The guild with the id ${guild.id} updated his name (${oldName} => ${newName})`
  );
});

// Login

client.login("Token");

Thanks to D0wzy 🎉

1.0.9

2 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago