We've updated to a new license system. Please redownload the bot.
does not apply to source code holders
Added so you can now use fields in presets. Checkout the new preset in presets.json
Changelog:
1. Added logs.js:
- Implemented logging functionality for embed creation
- Added functions to get and set logs status
- Implemented default-enabled logs
- Added config file management (read/write)
2. Added logsCommand.js:
- Implemented slash command for managing logs (/logs)
- Added subcommands:
- /logs set: Turn logs on or off
- /logs status: View current logs status
- Implemented permission checks for command usage
- Added embed responses for all command interactions
3. Modified index.js:
- Imported logsCommand.js
- Added logs command to the command collection
4. Updated config.json:
- Added logsEnabled property (default: true)
- Added logsChannelId property for specifying the logging channel
5. General Improvements:
- Implemented embed responses for log commands with color coding:
- Green (#1dd05d) for enabled status
- Red (#f91536) for disabled status
- Added error handling for cases where the logs channel is not found
- Ensured backwards compatibility with existing configurations
6. Security:
- Limited logs command usage to users with administrator permissions
7. User Experience:
- Provided clear feedback on log status changes and current status
- Used embeds for all command responses to improve readability
