Skip to content

Experimental refactor channel interfaces and implementations - #416

Draft
jedrek0429 wants to merge 5 commits into
NetCordDev:mainfrom
jedrek0429:channels-refactor
Draft

Experimental refactor channel interfaces and implementations#416
jedrek0429 wants to merge 5 commits into
NetCordDev:mainfrom
jedrek0429:channels-refactor

Conversation

@jedrek0429

@jedrek0429 jedrek0429 commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Introduce a new structure for channel capabilities by replacing classes with interfaces, and reorganizing the file structure. This refactor aims to enhance the modularity and maintainability of the channel system, and reduce the number of ghost methods that are certain to return 404 as shown by #351.

This branch is experimental and is a proof of concept for the proposed huge refactor

This includes:
- Replace classes with interfaces and make classes internal
- Reorganise file structure for channels
- Create a ChannelFactory to replace the old `*Channel.CreateFromJson` methods
- Introduce a `TextChannelBase` abstraction

This change now crossess the core assembly boundary and produces 93 errors on build. It is experimental and is a proof of concept for the proposed huge refactor
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.

1 participant