TrueAudit Docs
  • Welcome to TrueAudit Docs!
  • Getting Started
    • Add TrueAudit
    • Set the Basics
    • Detection System
    • Slash Commands
  • Commands
    • Audit Events
    • Audit Export
    • Audit Log
    • Audit Timeline
    • Case ID
    • Detection System
    • Frequency
    • Global User Check
    • Help
    • Staff Check
    • Toggle Events
    • User Check
    • Server Timezone
  • Audit Events
    • AutoMod
    • Ban / Unban
    • Channels
    • Digital Art
    • Guild
    • Integrations
    • Invites
    • Kick
    • Messages
    • Roles
    • Suggestion
    • Voice
  • Patch Notes
    • v1.0.0
    • Beta v1.0.1
  • Legal Info
    • Terms Of Service
    • Privacy Policy
    • Data & Logging Policy
Powered by GitBook
On this page
  • βš™οΈ What This Command Does
  • 🧩 How It Works
  • πŸ’‘ Pro Tip
  • 🧠 Why Use This?
  1. Commands

Toggle Events

/event <resource> <action>

Enable or disable a specific audit event for your server.

  • resource β€” The name of the event (e.g. message delete, role update)

  • action β€” Choose to Enable or Disable this event πŸ”’ Permissions Required: Manage Server 🧠 Supports Autocomplete for event names


βš™οΈ What This Command Does

This command lets you toggle individual audit events TrueAudit tracks for your server.

  • Want to stop logging emoji deletions? Disable emoji delete

  • Want to track soundboard sound edits? Enable soundboard update

Each event has a resource name linked to it. You can explore all available options using /auditevents.


βœ… Example Usage

/event message delete Enable
/event role update Disable

πŸ“₯ Response:

βœ… message_delete is now enabled for this server.


🧩 How It Works

  • You choose from a list of available audit resources via autocomplete

  • TrueAudit will start or stop logging those events, depending on your selection

  • The change applies immediately and affects how audit logs are stored and posted


πŸ’‘ Pro Tip

Pair this with:

  • /setmodlog to define where logs get sent

  • /detectionrules to alert staff if certain actions exceed thresholds

  • /auditevents to discover valid audit categories and resource names


🧠 Why Use This?

  • Keep logs clean by filtering out noise

  • Focus only on events that matter to your community

  • Easily re-enable events when needed β€” no restarts or bot reloads required

Use /event to stay in control of your server’s audit signal. πŸ”

Last updated 25 days ago