Remora / Remora.Discord

A data-oriented C# Discord library, focused on high-performance concurrency and robust design.
GNU Lesser General Public License v3.0
243 stars 46 forks source link

Add assembly discovery extension methods #251

Closed VelvetToroyashi closed 1 year ago

VelvetToroyashi commented 1 year ago

This PR adds helper methods that register responders and commands based on assembly discovery.

This was pitched by @cmsteffey, since other libraries have this functionality (usually in addition to explicit registrations, such as D#+)

Nihlus commented 1 year ago

Still waiting for tests - a rebase to avoid CI errors might not be a bad idea either.

VelvetToroyashi commented 1 year ago

Right. Tests. I'll get to this this afternoon.

VelvetToroyashi commented 1 year ago

This kids is why you don't rebase.

VelvetToroyashi commented 1 year ago

Tests have been added and pass