Logging
About the module
This module will allow you to receive the audit records through messages on a specific channel.
We recommend using this module if you manage a community.
Getting Started
Before proceeding with this article, you must take into account a series of elements that can influence when you are going to carry out any action described on this page:
- Filo requires the following advanced permissions:
VIEW_CHANNELandMANAGE_WEBHOOKS. - Filo requires the following basic permission:
VIEW_CHANNEL. - You need
ADMINISTRATORpermission to perform most of the actions in this article.
Module exceptions
This module has exceptions, which means that it won't work if some of the requirements mentioned below are met:
- If the webhook has been removed. ^1^
- If the webhook shares a channel with another Filo's module (e.g. reports). ^2^
^1^ If this requirement is met, the module settings will be reset.
^2^ If this or some of the requirements are met, the module won't work.
Steps to enable the module
Step 1: Enable the module
To enable the module you must execute the following command: /logging enable.
Example: /logging enable.
Steps to disable the module
Step 1: Disable the module
To disable the module you must execute the following command: /logging disable.
Example: /logging disable.
Steps to set the logging channel
Step 1: Set the logging channel
To set the logging channel you must execute the following command: /logging channel channel:<#Channel/Channel ID>.
Don't include <> when you're running the command.
Example: /logging channel channel:#server-logs.
Filo requires the following advanced permissions:VIEW_CHANNELandMANAGE_WEBHOOKS.
The channel you select should be private and accessible to server moderators.
Steps to configure module events
Steps to enable an event
Step 1: Enable an event
To enable an event you must execute the following command: /logging events action:Enable.
Example: /logging events action:Enable.
Steps to disable an event
Step 1: Disable an event
To disable an event you must execute the following command: /logging events action:Disable.
Example: /logging events action:Disable.
Steps to reset module settings
Step 1: Reset the module settings
To reset the module settings you must execute the following command: /logging reset.
Don't include <> when you're running the command.
Example: /logging reset.
You'll be forced to confirm the action you are about to take. Once you have confirmed the action, you won't be able to recover the previous data.