# Plugin to introduce auto-delete as a category-level option

**URL:** https://meta.discourse.org/t/plugin-to-introduce-auto-delete-as-a-category-level-option/323769
**Category:** Development
**Tags:** topic-timers
**Created:** [August 28, 2024, 12:48pm UTC](https://meta.discourse.org/t/plugin-to-introduce-auto-delete-as-a-category-level-option/323769 "2024-08-28T12:48:44Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [August 28, 2024, 12:48pm UTC](https://meta.discourse.org/t/plugin-to-introduce-auto-delete-as-a-category-level-option/323769/1 "2024-08-28T12:48:44Z")

</div>

Asked google Gemini AI to create a plugin.

The code would need to be audited by an experienced Discourse plugin DeV.

If there is enough interest maybe we could setup a group to co sponsor a plugin

> **[Create discourse plugin to add category settingse...](https://docs.google.com/document/d/1dW3HfNvT2HQdIbXQFy_r4osmv4s0e0RZMiO7vNRcvMs/edit?usp=drivesdk)**
>
> I'd be glad to help you create a Discourse plugin that adds a category setting to automatically delete topics after a specified number of days. Here's the improved code incorporating the best aspects of the provided responses and addressing potential...

**Note** I am not a plugin DeV.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [August 28, 2024, 12:51pm UTC](https://meta.discourse.org/t/plugin-to-introduce-auto-delete-as-a-category-level-option/323769/2 "2024-08-28T12:51:39Z")

</div>

I’m not 100% sold on sharing untested AI code on here. I’m not sure how useful it is. Perhaps it should be limited to the #Development category for exploration rather than shared in a #Contribute > Feature request.

Also, out of curiosity, what’s the ‘DeV’ format all about?

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [August 28, 2024, 1:45pm UTC](https://meta.discourse.org/t/plugin-to-introduce-auto-delete-as-a-category-level-option/323769/3 "2024-08-28T13:45:17Z")

</div>

Can you move the post to #Development? So a link is present here?

My apologies. “DeV” just short for Developer.

The info contained does say to test in dev environment and use with caution.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [August 28, 2024, 1:47pm UTC](https://meta.discourse.org/t/plugin-to-introduce-auto-delete-as-a-category-level-option/323769/4 "2024-08-28T13:47:55Z")

</div>

> [@Heliosurge](#):
>
> My apologies. “DeV” just short for Developer.

I got that bit. 🙂 I wasn’t sure if there was a particular reason for the random capitals?

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [August 28, 2024, 1:48pm UTC](https://meta.discourse.org/t/plugin-to-introduce-auto-delete-as-a-category-level-option/323769/5 "2024-08-28T13:48:56Z")

</div>

That is just a me thing. 🤦‍♂️ 😆

With VR for example usually I and some others use FoV for Field of View. Maybe not needed & more of a styling

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [February 17, 2026, 2:22am UTC](https://meta.discourse.org/t/plugin-to-introduce-auto-delete-as-a-category-level-option/323769/6 "2026-02-17T02:22:38Z")

</div>

Does auto-delete replies even exist any more?

I can’t find it, and [ask.discourse.org](http://ask.discourse.org) doesn’t have a clue where it has gone.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [February 17, 2026, 3:07am UTC](https://meta.discourse.org/t/plugin-to-introduce-auto-delete-as-a-category-level-option/323769/7 "2026-02-17T03:07:05Z")

</div>

do you mean this?

> [@Automatically delete replies after N days](https://meta.discourse.org/t/automatically-delete-replies-after-n-days/128759):
>
> For the various knowledge base topics we have I would like to have a special timer for: Replies on this topic are automatically deleted after N days I think this is a very powerful tool for keeping documentation topics clean. I would have this on most documentation topics on meta. It means people can reply to them but they know upfront that replies are like tears in the rain. If you want something permanent: Open a new topic or Edit the OP Even though we can do this pruning …

if that is what you mean, it still exists - it’s under the topic timer

 ![Screenshot 2026-02-16 at 7.06.31 PM](https://global.discourse-cdn.com/meta/original/4X/2/1/9/2199567527a74448cc2c8af433215a8868675ab6.jpeg)

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [February 17, 2026, 3:14am UTC](https://meta.discourse.org/t/plugin-to-introduce-auto-delete-as-a-category-level-option/323769/8 "2026-02-17T03:14:48Z")

</div>

Ah - but not on the system posts it seems!!!

I updated the FAQs, made a comment, and then wanted to set it to self-destruct after a month. But the option isn’t there:

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/1/0/b108bd540db89f1957d81c97fd2c5085fb5d489a.png)

I then checked it here on [meta.discourse.org](http://meta.discourse.org) (where I am of the lucky TL4s), and didn’t see it either. And jumped to a (faulty) conclusion!

Ok, now I know that it isn’t available as an option on system Topics for some reason. Weird!
