Skip to content

Conversation

@JiPaix
Copy link

@JiPaix JiPaix commented Aug 20, 2025

  • Added "dcc" handling to ./plugins/ctcp.ts
    • dcc is excluded from *_reply events since DCCs don't have a reply mechanism
  • ./plugins/dcc.ts wraps around these changes
    • client.dcc command
      • Since there's no way to confirm the message was sent (no replies) and the function never throws, it returns the raw string that ctcp() would send
        • I checked other parts of the codebase and throwing doesn't seem to be part of the flow
    • types
      • Any changes or additions just go in the DCC_SCHEMA constant, and everything else cascades automatically (types are generated from it)
        • Additionally, if you want DCC_SCHEMA to handle more complex types, you can extend FieldKindToType

@jeromeludmann
Copy link
Owner

Thank you very much for this addition, as soon as I have a moment, I will merge the branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants