mirror of
https://github.com/Luzifer/discord-community.git
synced 2024-11-09 15:40:03 +00:00
Add user protection to cleanchannel module
Signed-off-by: Knut Ahlers <knut@ahlers.me>
parent
d2416e6412
commit
a36dd4331d
1 changed files with 2 additions and 0 deletions
2
Home.md
2
Home.md
|
@ -25,6 +25,8 @@ Cleans up old messages from a channel (for example announcement channel) which a
|
|||
| `discord_channel_id` | ✅ | string | | ID of the Discord channel to clean up |
|
||||
| `retention` | ✅ | duration | | How long to keep messages in this channel |
|
||||
| `cron` | | string | `0 * * * *` | When to execute the cleaner |
|
||||
| `only_users` | | []string | `[]` | When this list contains user IDs, only posts authored by those IDs will be deleted |
|
||||
| `protect_users` | | []string | `[]` | When this list contains user IDs, posts authored by those IDs will not be deleted |
|
||||
|
||||
## Type: `liveposting`
|
||||
|
||||
|
|
Loading…
Reference in a new issue