Adise
✅ Class instance reference
I'm having some issues figuring out why my code is behaving like it's taking a "snapshot" of an instance instead of directly referencing it.
So I created a custom attribute so that I could check a class for methods with it and add the methods to the list. I had to "register" my methods after creating the instance so that they could access the instance members, and so in the class constructor I added:
For context, this is how a listener looks:
In my
MessageHandler
class I have this dictionary:
55 replies