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: README.md
+15-2Lines changed: 15 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -376,11 +376,24 @@ This cog will allow members to send a report into a channel where it can be revi
376
376
377
377
The `report` and `emergency` commands have cooldowns defined; if a user attempts to use one of these commands more than once within a 30 second period, they will be rate limited and receive a message informing them of this.
378
378
379
-
-`[p]reports confirmation <true|false>` - Sets whether the bot will send users a confirmation/copy of their report.
379
+
#### Emergency Reports
380
+
381
+
When a user triggers the emergency command, the bot will mention all online/idle users in the log channel with the user's report. The following conditions apply:
382
+
383
+
* If no users in the log channel are online/idle, the cog will fall back to mentioning all non-bot users.
384
+
* No number of users greather than the value of the `maxmentions` setting will be mentioned. The order of mentions is not guaranteed, so who is/isn't mentioned under this condition may be unpredictable.
385
+
386
+
#### Configuration Commands
387
+
388
+
-`[p]reports confirmation <true|false>` - Sets whether the bot will DM users a confirmation/copy of their report. Confirmations are always provided when the slash command is used.
380
389
-`[p]reports logchannel #admin-log` - Set the channel to which reports will be sent. ⚠️ The cog will not function without this.
390
+
-`[p]reports maxmentions <number>` - Set the maximum number of users to mention in emergency reports (1-100, default: 20).
381
391
-`[p]reports status` - Output the cog's configuration status.
392
+
393
+
#### User Commands
394
+
382
395
-`[p]report <message>` - Sends a report with the given message.
383
-
-`[p]emergency <message>` - Sends a report with the given message, mentioning (@'ing) all users in the configured `logchannel` who are in either an online or idle state.
396
+
-`[p]emergency <message>` - Sends a high-priority report with the given message, mentioning (@'ing) users in the configured `logchannel` who are in either an online or idle state.
384
397
385
398
> [!TIP]
386
399
> The `report` and `emergency` commands are also implemented as slash commands.
0 commit comments