Active Thread Directory #165

Open
opened 2026-04-17 03:06:43 +00:00 by Ghost · 1 comment
Ghost commented 2026-04-17 03:06:43 +00:00 (Migrated from codeberg.org)

This resolves Thread Visibility sub issue in #160.

This command will serve to show a toggle-able directory to all the active threads for a channel. This objective can be accomplished across three subcommands as follows:

  1. Thread Directory Show: Activate the directory to automatically show in the channel and be constantly moved down to the most recent message. It should look for active threads and display them in a list with them linked and a button to join them.
  2. Thread Directory Hide: Deactivate the directory.

Implementation

  • Both should be slash commands and can be done in any valid channel.
  • You'll need to store what channels have active directories via channel ids in the database so ask Yiyoung for further instruction on that.

Thread Directory Show

  • This will need a way to check messages when activated, so if already implemented use src/events/message to check when a message is sent that it is in a channel that has an active directory to automatically up the directory.
  • This should also constantly be looking at the active threads to add them to the list
  • The UI of this is up to you but be sure to include the thread name and have the name as a link to the thread; optionally have a join button that adds the user to the thread. Be sure to ask max about ur drafted UI because he is picky.
  • Look to write a function in commands that prints the message and updates it appropriately and have this function called on every new message in the channel and every thread creation in the channel.
  • This should all only happen when a channel is on a list to be showing directory otherwise isn't checked.

Thread Directory Hide

  • This should get rid of the channel id from the list that is being checked for this.
This resolves **Thread Visibility** sub issue in #160. This command will serve to show a toggle-able directory to all the active threads for a channel. This objective can be accomplished across three subcommands as follows: 1. **Thread Directory Show**: Activate the directory to automatically show in the channel and be constantly moved down to the most recent message. It should look for active threads and display them in a list with them linked and a button to join them. 2. **Thread Directory Hide**: Deactivate the directory. ## Implementation - Both should be slash commands and can be done in any valid channel. - You'll need to store what channels have active directories via channel ids in the database so ask Yiyoung for further instruction on that. ### Thread Directory Show - This will need a way to check messages when activated, so if already implemented use src/events/message to check when a message is sent that it is in a channel that has an active directory to automatically up the directory. - This should also constantly be looking at the active threads to add them to the list - The UI of this is up to you but be sure to include the thread name and have the name as a link to the thread; optionally have a join button that adds the user to the thread. Be sure to ask max about ur drafted UI because he is picky. - Look to write a function in commands that prints the message and updates it appropriately and have this function called on every new message in the channel and every thread creation in the channel. - This should all only happen when a channel is on a list to be showing directory otherwise isn't checked. ### Thread Directory Hide - This should get rid of the channel id from the list that is being checked for this.
TenType commented 2026-06-06 21:59:21 +00:00 (Migrated from codeberg.org)

I am not that picky :(

I am not that picky :(
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ScottyLabs/dalmatian#165
No description provided.