@antibot/salt
v1.1.0
Published
🧂Salt is a Discord autmod library for the new Discord automod creation feature!
Downloads
12
Maintainers
Readme
🧂 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));
});