1.1.0 • Published 11 months ago

@antibot/salt v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

🧂 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));
});