Does this make sense to be a subclass?
I'm trying to create a subclass to implement some custom functionality to a parent class. I'm making a discord bot that has a class
I've created a subclass
Everything runs fine but for some reason, this just looks really off to me. I'm not sure if I'm overcomplicating it or creating an antipattern.
Discord. This Discord class has a constructor that takes a token.I've created a subclass
Bot that has a constructor that calls the parent function. I've done this so I can implement environment variables.Everything runs fine but for some reason, this just looks really off to me. I'm not sure if I'm overcomplicating it or creating an antipattern.