@antibot/salt
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

🧂 salt

🧂Salt is a Discord autmod library for the new Discord automod creation feature!

Docs

https://antibot-team.github.io/salt/

const { Salt } = require("@antibot/salt");
const salted = new Salt("Discord Bot Token");
const util = require("util");

const main = async () => {
  console.log(await salted.automod.getRules("GuildID")).then((data) => {
    console.log(util.inspect(data, false, null, true));
  });
};

main().catch((e) => {
  console.log(util.inspect(e, false, null, true));
});

Package Sidebar

Install

npm i @antibot/salt

Weekly Downloads

4

Version

1.1.0

License

MIT

Unpacked Size

63.2 kB

Total Files

31

Last publish

Collaborators

  • j_ddev