Overview
The Antinuke Logs system provides comprehensive logging of all security events, protection triggers, and configuration changes in your server. By setting up a dedicated log channel, you can monitor antinuke activity in real-time and maintain an audit trail of security incidents.Log channels receive detailed information about every antinuke action, including who triggered protections, what actions were taken, and when settings were modified.
Access Control
Only the following can manage the log channel:- Server Owner — Full access to configure log channel
- Extra Owners — Can set and modify the log channel
- Antinuke Administrators — Can set and modify log channel
Regular members cannot view or modify log channel settings, ensuring security event privacy.
Commands
setlog
setlog
Configure the log channel for your antinuke system. If no channel is specified, the bot will automatically create a “Celestia-logs” channel with proper permissions.Aliases:
Permissions: Server Owner or Antinuke Administrator
anlog, logsetPermissions: Server Owner or Antinuke Administrator
setlog (view status)
setlog (view status)
View your current log channel configuration and available options.Aliases:
Permissions: Server Owner or Antinuke Administrator
anlog, logsetPermissions: Server Owner or Antinuke Administrator
Running the command without arguments displays the current log channel and configuration instructions.
What Gets Logged
The log channel records comprehensive information about all antinuke activities:- System Changes
- Protection Settings
- Security Events
Track system status modifications:
- Antinuke system enable/disable
- Protection module enable/disable
- Antinuke administrator additions/removals
- Log channel configuration
Auto-Creation Feature
Automatic Channel SetupWhen you run
~setlog without specifying a channel, Celestia will automatically create a secure log channel for you.- Name: Celestia-logs
- Type: Text channel
- Visibility: Hidden from @everyone
- Permissions: Bot and command executor can view
- Topic: Descriptive text indicating antinuke purpose
Setup Process
Choose Setup Method
Decide whether to use an existing channel or let the bot create one:Option 1: Use existing channelOption 2: Auto-create channel
Verify Permissions
Ensure the bot has the following permissions in the log channel:
- View Channel
- Send Messages
- Embed Links
- Attach Files
Confirm Configuration
Check that the log channel is set correctly:You should see your configured channel in the status display.
Channel Requirements
For a channel to function as an antinuke log channel, it must meet these requirements:Text-Based
Must be a text channel or announcement channel
Bot Access
Bot must have view and send message permissions
Embed Permissions
Bot needs permission to send embeds and attachments
Stable Channel
Should not be deleted or frequently modified
Log Format
All antinuke events are logged as detailed embeds showing exactly what happened and who made the change:- Setting Updates
- Admin Changes
- Protection Changes
- Punishment Updates
- Protection Triggers
Antinuke setting updatedShows configuration changes like log channel setup:
- Setting: What was changed (e.g., log channel)
- Value: New value (e.g., #an-logs)
- Changed By: User who made the change
- Server: Server name and timestamp
Common Use Cases
Initial Setup with Auto-Creation
Initial Setup with Auto-Creation
Using Existing Moderation Logs
Using Existing Moderation Logs
Checking Current Configuration
Checking Current Configuration
Switching Log Channels
Switching Log Channels
Private Security Monitoring
Private Security Monitoring
Best Practices
Keep Channel Private
Ensure only trusted staff can view the log channel to prevent information leaks.Recommended Permissions:
- @everyone: No access
- Moderators: View only
- Admins: View and manage
Regular Monitoring
Check your log channel regularly for activity and configuration changes.Monitor for:
- System enable/disable events
- Protection configuration changes
- Administrator additions or removals
- Unexpected punishment modifications
- Protection trigger patterns
Archive Old Logs
Consider periodically archiving old logs to keep the channel manageable while maintaining records.
Discord has built-in message search that works well for recent logs, but consider exporting older logs for long-term storage.
Troubleshooting
Logs not appearing in channel
Logs not appearing in channel
Problem: No logs are being sent to the configured channelSolutions:
- Verify bot permissions: View Channel, Send Messages, Embed Links
- Check if the channel still exists and wasn’t deleted
- Confirm log channel is properly set:
~setlog - Try setting the channel again:
~setlog #your-channel
Cannot set log channel
Cannot set log channel
Problem: Command fails when trying to set log channelPossible Causes:
- You lack required permissions (not owner/antinuke admin)
- Bot lacks “Manage Channels” permission for auto-creation
- Channel mentioned is not a text channel
~setlog and ensure you’re mentioning a valid text channel.Auto-creation fails
Auto-creation fails
Problem: Bot cannot create Celestia-logs channelCause: Bot lacks “Manage Channels” permissionSolution:
- Grant bot “Manage Channels” permission
- Or manually create a channel and set it:
~setlog #manual-logs
Check the bot’s role in Server Settings → Roles and ensure “Manage Channels” is enabled.
Channel already exists message
Channel already exists message
Problem: “Celestia-logs already exists” but it’s not setSolution:
The bot found an existing Celestia-logs channel. It will automatically set that channel as your log channel. Check with
~setlog to confirm.Wrong channel type error
Wrong channel type error
Problem: “Channel must be a text channel” errorCause: You mentioned a voice channel, category, or forum channelSolution:
Only mention text channels or announcement channels:
No changes made
No changes made
Problem: Command says “No changes made”Explanation:
The channel you specified is already set as your log channel. This is informational, not an error.Verify:
Permission denied
Permission denied
Problem: Cannot execute setlog commandCause: You’re not the server owner or an antinuke administratorSolution:
Ask the server owner to either:
- Set the log channel themselves
- Add you as an antinuke administrator:
~antinukeadmin @you
Security Considerations
What Logs RevealAntinuke logs contain valuable information about:
- Your server’s protection configuration
- System enable/disable states
- Punishment types configured
- Administrator changes
- Protection activity patterns
Integration Examples
Centralized Security Hub
Centralized Security Hub
Create a dedicated security category with your log channel:
Multi-Bot Logging
Multi-Bot Logging
Use the same channel for multiple security bots:Centralize all security events in one monitored location.
Tiered Logging System
Tiered Logging System
Set up different log channels for different severity levels:Use Celestia for critical antinuke events:
Aliases
The setlog command has convenient aliases for faster usage:anlog
Main alias
logset
Alternative alias
setlog
Primary command
Related Features
Antinuke Administrators
Learn about who can configure log channels and manage antinuke settings
Protection Modules
Explore what protection events get logged to your channel
Whitelist System
Configure which users are exempt from protections (logged events)
Audit System
Review historical logs and security patterns
Quick Reference
- Setup Commands
- Requirements
- Best Practices