You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: advanced/list-of-log-names.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ description: On this page all the available logs are listed
6
6
7
7
# List of Log Names
8
8
9
-
Logs, categorized by what they do are listed here, and are **case sensitive**. Individual logs are written in _UPPER\_CASE_, while category names (which can be used in place of individual log names, see [configuring channels](../management-commands/config.md#channels)) are _Capitalized_. Each one of them is separated by categories in the lists below. To log all events, use an asterisk (`*`). All logs require the bot to have permission to view and send messages, embed links and attach files in the respective channels. Some logs require the bot to have the "View Audit Log" permission enabled at server level.
9
+
Logs, categorized by what they do, are listed here and are **case sensitive**. Individual logs are written in _UPPER\_CASE_, while category names (which can be used in place of individual log names, see [configuring channels](../management-commands/config.md#channels)) are _Capitalized_. Each one of them is separated by categories in the lists below. To log all events, use an asterisk (`*`). All logs require the bot to have permission to view and send messages, embed links and attach files in the respective channels. Some logs require the bot to have the "View Audit Log" permission enabled at server level.
Copy file name to clipboardexpand all lines: miscellaneous-commands/check-duration.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ By default, a user is required to have the following permissions to use this com
27
27
28
28
*No specific permissions required*
29
29
30
-
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](<linkToTermissionsTutorial>)
30
+
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](../start-up/permission-tutorial.md)
31
31
32
32
## Syntax
33
33
@@ -39,4 +39,4 @@ For more information on editing permission requirements for specific users/roles
39
39
40
40
*This command does not trigger any log events.*
41
41
42
-
For more information on setting up those logs, refer to the [log setup tutorial](<linkToLogTutorial>)
42
+
For more information on setting up those logs, refer to the [log setup tutorial](../README.md#logging)
Copy file name to clipboardexpand all lines: miscellaneous-commands/premium.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ By default, a user is required to have the following permissions to use this com
12
12
13
13
_No specific permissions required_
14
14
15
-
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](linkToTermissionsTutorial/)
15
+
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](../start-up/permission-tutorial.md)
16
16
17
17
## info
18
18
@@ -30,10 +30,10 @@ MoonlightBot requires the following permissions to successfully execute this sub
30
30
31
31
_No specific permissions required_
32
32
33
-
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](linkToTermissionsTutorial/)
33
+
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](../start-up/permission-tutorial.md)
34
34
35
35
## Logs
36
36
37
37
_This command does not trigger any log events._
38
38
39
-
For more information on setting up those logs, refer to the [log setup tutorial](linkToLogTutorial/)
39
+
For more information on setting up those logs, refer to the [log setup tutorial](../README.md#logging)
Copy file name to clipboardexpand all lines: miscellaneous-commands/userconfig.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ By default, a user is required to have the following permissions to use this com
12
12
13
13
_No specific permissions required_
14
14
15
-
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](linkToPermissionsTutorial/)
15
+
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](../start-up/permission-tutorial.md)
16
16
17
17
## settings
18
18
@@ -36,4 +36,4 @@ _No specific permissions required_
36
36
37
37
_This command does not trigger any log events._
38
38
39
-
For more information on setting up those logs, refer to the [log setup tutorial](linkToLogTutorial/)
39
+
For more information on setting up those logs, refer to the [log setup tutorial](../README.md#logging)
Copy file name to clipboardexpand all lines: moderation-commands/ban.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ By default, a user is required to have the following permissions to use this com
12
12
13
13
* Ban Members
14
14
15
-
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](<linkToPermissionsTutorial>)
15
+
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](../start-up/permission-tutorial.md)
16
16
17
17
## Syntax
18
18
@@ -35,4 +35,4 @@ The user will not be notified if both `notify` and `no-infraction` are set to Tr
35
35
36
36
*`BAN`: This log is triggered when a user is successfully banned. It will log the user, the responsible moderator and the reason for the ban. If an infraction is created, it will also include the infraction ID
37
37
38
-
For more information on setting up those logs, refer to the [log setup tutorial](<linkToLogTutorial>)
38
+
For more information on setting up those logs, refer to the [log setup tutorial](../README.md#logging)
Copy file name to clipboardexpand all lines: moderation-commands/clean.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# clean
2
2
3
-
This command deletes a large amount of messages from a channel, optionally limited by specifying some deletion criteria. Criteria are options that distinguish messages such as those that contain a specific phrase. Using multiple criteria will narrow the selection to only messages that fit all of them. Up to 100 messages can be deleted in a single execution of the command, and only those sent within the last 14 days.
3
+
This command deletes a large amount of messages from a channel, optionally limited by specifying some deletion criteria. Criteria are options that distinguish messages such as those that contain a specific phrase. Using multiple criteria will narrow the selection to only messages that fit all of them. Due to limitations imposed by Discord, only messages sent within the last 14 days can be deleted.
4
4
5
5
## Required permissions
6
6
@@ -15,7 +15,7 @@ By default, a user is required to have the following permissions to use this com
15
15
16
16
* Manage Messages
17
17
18
-
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](/start-up/permission-tutorial.md)
18
+
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](../start-up/permission-tutorial.md)
19
19
20
20
## Syntax
21
21
@@ -26,12 +26,12 @@ For more information on editing permission requirements for specific users/roles
26
26
### Options
27
27
28
28
*`amount`: The amount of messages you want to clean (The default/maximum amount is 100)
29
-
*`user`: The user you want to do delete the messages of
29
+
*`user`: Delete messages sent by a specified user
30
30
*`starts-with`: Delete messages that start with this value
31
31
*`ends-with`: Delete messages that end with this value
32
32
*`contains`: Delete messages that contain this value
33
-
*`bots`: Whether or not to delete messages sent by bots. If this option is left blank, the bot will delete these messages, but if left as true, the bot will only delete messages by bots, otherwise it will only delete messages not sent by bots
34
-
*`system`: Whether or not to delete system messages. System messages are messages sent by Discord, such as join or pin messages
33
+
*`bots`: Whether or not to delete messages sent by bots. If this option is left blank, the bot will not differentiate between messages sent by users and bots. If set to false, the bot will not delete bot messages, but if set to true, the bot will only delete bot messages
34
+
*`system`: Whether or not to delete system messages. System messages are messages sent by Discord, such as join or pin messages. This uses the same syntax as the `bots` option
35
35
*`preserve-pins`: If true, pinned messages will not be deleted
36
36
*`no-trace`: If true, the confirmation message will only be visible to you
37
37
@@ -42,7 +42,7 @@ For more information on editing permission requirements for specific users/roles
42
42

43
43
44
44
{% hint style="info" %}
45
-
To open an HTML file, download it and open the file explorer. Double-click the file, and your computer will open a new tab in your browser to display a visualization of the messages deleted
45
+
Rather than rendering them like other downloadable files, Discord displays the raw content of HTML files. To download the HTML file, click the download button at the bottom-right of the file display. Double-click the file, and your computer will open a new tab in your browser to display a visualization of the messages deleted.
46
46
{% endhint %}
47
47
48
-
For more information on setting up those logs, refer to the [log setup tutorial](<linkToLogTutorial>)
48
+
For more information on setting up those logs, refer to the [log setup tutorial](../README.md#logging)
Copy file name to clipboardexpand all lines: moderation-commands/infractions.md
+9-5
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ By default, a user is required to have the following permissions to use this com
12
12
13
13
* Moderate Members
14
14
15
-
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](/start-up/permission-tutorial.md)
15
+
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](../start-up/permission-tutorial.md)
16
16
17
17
## summary
18
18
@@ -48,7 +48,7 @@ MoonlightBot requires the following permissions to successfully execute this sub
48
48
49
49
## reason
50
50
51
-
Changes the reason of the infraction. If the `reason` option is left blank, it will simply display the current one
51
+
Changes the reason of the infraction. If the `reason` option is left blank, it will simply display the current one. You can alternatively use `%%%` to automatically copy the old content so you don't have to type it again
52
52
53
53
```text
54
54
/infractions reason <id> [reason]
@@ -74,8 +74,8 @@ Shows a list of infractions that fit all the specified criteria, such as the mod
74
74
*`target`: The user you want to see the infractions of
75
75
*`moderator`: The infractions executed by a specific moderator
76
76
*`type`: The type of the infractions you want to view
77
-
*`before`: View infractions executed before this date
78
-
*`after`: View infractions after this date
77
+
*`before`: View infractions executed before this duration
78
+
*`after`: View infractions after this duration
79
79
80
80
### Required permissions
81
81
@@ -87,6 +87,10 @@ MoonlightBot requires the following permissions to successfully execute this sub
87
87
88
88
Deletes an infraction
89
89
90
+
{% hint style="danger" %}
91
+
This cannot be undone! Be absolutely sure that you want to delete the infraction before running this command.
92
+
{% endhint %}
93
+
90
94
```text
91
95
/infractions delete <id> [reason]
92
96
```
@@ -105,4 +109,4 @@ MoonlightBot requires the following permissions to successfully execute this sub
105
109
*`REASON_UPDATE`: Shows the user the infraction affects, the moderator who executed it, and the updated reason
106
110
*`INFRACTION_DELETE`: Same as above, with the reason being why the infraction was deleted
107
111
108
-
For more information on setting up those logs, refer to the [log setup tutorial](<linkToLogTutorial>)
112
+
For more information on setting up those logs, refer to the [log setup tutorial](../README.md#logging)
Copy file name to clipboardexpand all lines: moderation-commands/kick.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ By default, a user is required to have the following permissions to use this com
12
12
13
13
* Kick Members
14
14
15
-
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](<linkToPermissionsTutorial>)
15
+
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](../start-up/permission-tutorial.md)
16
16
17
17
## Syntax
18
18
@@ -35,4 +35,4 @@ The user will not be notified if both `notify` and `no-infraction` are set to Tr
35
35
36
36
*`KICK`: This log is triggered when a user is kicked from a server. It will log the user, the responsible moderator and the reason for the kick. If an infraction is created, it will also include the infraction ID
37
37
38
-
For more information on setting up those logs, refer to the [log setup tutorial](<linkToLogTutorial>)
38
+
For more information on setting up those logs, refer to the [log setup tutorial](../README.md#logging)
Copy file name to clipboardexpand all lines: moderation-commands/mute.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ By default, a user is required to have the following permissions to use this com
16
16
17
17
* Moderate Members
18
18
19
-
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](linkToPermissionsTutorial/)
19
+
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](../start-up/permission-tutorial.md)
20
20
21
21
## Syntax
22
22
@@ -40,4 +40,4 @@ The user will not be notified if both `notify` and `no-infraction` are set to Tr
40
40
41
41
*`MUTE`: This log is triggered when a user is muted. It will log the user, the responsible moderator and the reason for the muting. If an infraction is created, it will also include the infraction ID
42
42
43
-
For more information on setting up those logs, refer to the [log setup tutorial](linkToLogTutorial/)
43
+
For more information on setting up those logs, refer to the [log setup tutorial](../README.md#logging)
Copy file name to clipboardexpand all lines: moderation-commands/softban.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ By default, a user is required to have the following permissions to use this com
12
12
13
13
* Ban Members
14
14
15
-
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](<linkToPermissionsTutorial>)
15
+
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](../start-up/permission-tutorial.md)
16
16
17
17
## Syntax
18
18
@@ -35,4 +35,4 @@ The user will not be notified if both `notify` and `no-infraction` are set to Tr
35
35
36
36
*`SOFTBAN`: This log is triggered when a user is softbanned. It will log the user, the responsible moderator and the reason for the softban. If an infraction is created, it will also include the infraction ID
37
37
38
-
For more information on setting up those logs, refer to the [log setup tutorial](<linkToLogTutorial>)
38
+
For more information on setting up those logs, refer to the [log setup tutorial](../README.md#logging)
Copy file name to clipboardexpand all lines: moderation-commands/tempban.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ By default, a user is required to have the following permissions to use this com
12
12
13
13
* Ban Members
14
14
15
-
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](<linkToPermissionsTutorial>)
15
+
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](../start-up/permission-tutorial.md)
16
16
17
17
## Syntax
18
18
@@ -37,4 +37,4 @@ The user will not be notified if both `notify` and `no-infraction` are set to Tr
37
37
*`TEMPBAN_EXTEND`: This log is triggered when a tempban is successfully extended. It will log the user, the responsible moderator and the reason for the extended ban.
38
38
*`BAN`: This log is triggered when a user is successfully banned. It will log the user, the responsible moderator and the reason for the ban. If an infraction is created, it will also include the infraction ID
39
39
40
-
For more information on setting up those logs, refer to the [log setup tutorial](<linkToLogTutorial>)
40
+
For more information on setting up those logs, refer to the [log setup tutorial](../README.md#logging)
Copy file name to clipboardexpand all lines: moderation-commands/tempmute.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ By default, a user is required to have the following permissions to use this com
16
16
17
17
* Moderate Members
18
18
19
-
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](linkToPermissionsTutorial/)
19
+
For more information on editing permission requirements for specific users/roles, refer to the [permissions tutorial](../start-up/permission-tutorial.md)
20
20
21
21
## Syntax
22
22
@@ -42,4 +42,4 @@ The user will not be notified if both `notify` and `no-infraction` are set to Tr
42
42
*`TEMPMUTE_EXTEND`: This log is triggered when a tempmute is successfully extended. It will log the user, the responsible moderator and the reason for the extended mute.
43
43
*`MUTE`: This log is triggered when a user is muted. It will log the user, the responsible moderator and the reason for the muting. If an infraction is created, it will also include the infraction ID
44
44
45
-
For more information on setting up those logs, refer to the [log setup tutorial](linkToLogTutorial/)
45
+
For more information on setting up those logs, refer to the [log setup tutorial](../README.md#logging)
0 commit comments