Katrix / AckCord

A Discord library for Scala using Akka
https://ackcord.katsstuff.net/
MIT License
113 stars 15 forks source link

Components not being registered #70

Closed Yomanz closed 2 years ago

Yomanz commented 2 years ago

At some point after the latest SNAPSHOT was released, the AutoButtonHandler class was changed to inherit another class.

registeredComponents.addHandler(identifier, this) and def unregisterButtonHandler(): Unit = registeredComponents.removeHandler(this) were removed from this class when this was done.

The function isn't required but the addHandler is as the components dont get registered elsewhere.

I'd PR it back in but not sure if you want it added elsewhere.