easy-discord-logs
v1.0.5
Published
Advanced discord logs system and easy usage!
Downloads
8
Maintainers
Readme
About
Using this package you can easily create an advanced logs system in your bot!
Installation
npm i --save easy-discord-logs
Example usage
In your server type [prefix]help logs to see the logs setup commands!
(async () => {
const client = await require("easy-discord-logs").init({
mongodb: "MONGO DB URI",
prefix: "PREFIX",
token: "DISCORD TOKEN",
});
//Random Methods
client.logsCommands.get("commandName"); //Collection
client.logsCommands.set("commandName", Command)
client.logsAliases.get("aliasName"); //Collection
client.logsAliases.set("aliasName", Command)
client.logsEvents.get("Event Name"); // Collection
client.prefix; //String
client.prefix = "newPrefix"; //String
client.logs.get("GuildId"); //Collection of all the logs settings
})();
//The client in this package is same as discord client but with more stuff. so You can simply do client.on('message',message=>{//something}) etc
//Good Luck with your bot! Made by ソビ#2143 on discord
//Join our discord server for help: https://discord.gg/z8WH5yAhER