A Discord Bot to create a list of both active and inactive threads in a server... because Discord does not want to. Made for Ohara.
Credits to Katelynn Au'mar for helping with the algo and for being an MVP and hosting this bot, and also to Prim Rose, Fufugi Fugi, and Felicia Floppe as well.
https://discord.com/api/oauth2/authorize?client_id=958397308502958110&permissions=8&scope=bot
Requires Node (17.8.0 or later).
This bot is using a MongoDB Cloud Database but feel free to alter the code to use other types of persistence.
- Install the above prerequisites
- Clone this repository and navigate to it on your local IDE.
- Run
node index.js
in this repository on a terminal.
Things to note: As of Discord s.v. 122087, thread links displayed by this bot will not be redirectable on mobile.
+getAllThreads
Get all threads in the server, minus excluded channels and archived threads older than 2 months.
+addExclusion <#channelname>
Add a server to not include in the thread list
+removeExclusion <#channelname>
Remove a server from the exclusion list.
+getExcludedChannels
See which channels are excluded from the thread list.
+help
See this help list.