Thread Dual Sending #162

Open
opened 2026-04-17 02:30:54 +00:00 by Ghost · 0 comments
Ghost commented 2026-04-17 02:30:54 +00:00 (Migrated from codeberg.org)

Resolves Dual Sending sub issue.

This sub-issue involves making a command that would allow users to do three things across two subcommands:

  1. Dual Send Message: send an isolated message in both a thread where the command was called and the thread origin channel
  2. Dual Send Toggle: toggle messages for a user to automatically dual send all messages from then on from the user in the thread where this was called. This should be used for both turning on and off and will have a ephemeral message that indicates whether off or on.

Implementation

  • Both should be Slash Commands; Both should only be only used in threads otherwise will return an error message.

Dual Send Message CMD

  • The implementation of sending a message in both channels would be best done with WebhookClient where Dalmatian can send using a user's pfp and name with an APP label next to it to both the thread and the main channel. ALTERNATIVE: If that doesn't pan out use an embed builder to do the same referencing the user.
  • The message in the thread origin channel should also in small italic text on the bottom or top say "sent from {thread name as link}"

Dual Send Toggle

  • You'll need to add an event handler for when a message is sent. (src/events)
  • After implementing the message handler you're going to need to check if it's in the thread and if the user has dual send toggled.
  • The actual command will toggle this value.
  • How do you store these values? Ask Yiyoung lol.
Resolves **Dual Sending** sub issue. This sub-issue involves making a command that would allow users to do three things across two subcommands: 1. **Dual Send Message**: send an isolated message in both a thread where the command was called and the thread origin channel 2. **Dual Send Toggle**: toggle messages for a user to automatically dual send all messages from then on from the user in the thread where this was called. This should be used for both turning on and off and will have a ephemeral message that indicates whether off or on. ## Implementation - Both should be Slash Commands; Both should only be only used in threads otherwise will return an error message. ### Dual Send Message CMD - The implementation of sending a message in both channels would be best done with _WebhookClient_ where Dalmatian can send using a user's pfp and name with an APP label next to it to both the thread and the main channel. _ALTERNATIVE: If that doesn't pan out use an embed builder to do the same referencing the user._ - The message in the thread origin channel should also in small italic text on the bottom or top say "sent from {thread name as link}" ### Dual Send Toggle - You'll need to add an event handler for when a message is sent. (src/events) - After implementing the message handler you're going to need to check if it's in the thread and if the user has dual send toggled. - The actual command will toggle this value. - How do you store these values? Ask Yiyoung lol.
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#162
No description provided.