Closed doEggi closed 2 months ago
I created and implemented the toBuilder method on GuildChannel and all its variants. This way you can "clone" a channel of a guild without copying the data manually. Also you can use an existing channel as a template for new channels.
https://github.com/nyxx-discord/nyxx_extensions/issues/38#issuecomment-2198307221 PS: I don't know how to tag an issue of another repo :(
dart analyze
make analyze
dart format --set-exit-if-changed -l 160 ./lib
make format
This probably should be in nyxx_extensions
nyxx_extensions
As MCaus already said, the scope of this PR is beyond nyxx. This should be in nyxx_extensions instead.
Description
I created and implemented the toBuilder method on GuildChannel and all its variants. This way you can "clone" a channel of a guild without copying the data manually. Also you can use an existing channel as a template for new channels.
Connected issues & other potential problems
https://github.com/nyxx-discord/nyxx_extensions/issues/38#issuecomment-2198307221 PS: I don't know how to tag an issue of another repo :(
Type of change
Checklist:
dart analyze
ormake analyze
and fixed all issuesdart format --set-exit-if-changed -l 160 ./lib
ormake format
and fixed all issuesTodo: