Is there a requirement to call this method from within a Command or within the Command class?
I wrote a small Utilities class in which I implemented the method NextMessageByUserContains(string userID, string message). This is meant to be used for finding replies to a command.
Whenever I call this method from my Command class it results in NullReferences. Then when I move the method over to my Command class it works fine. Is there something I am missing?
Is there a requirement to call this method from within a Command or within the Command class?
I wrote a small Utilities class in which I implemented the method NextMessageByUserContains(string userID, string message). This is meant to be used for finding replies to a command.
Whenever I call this method from my Command class it results in NullReferences. Then when I move the method over to my Command class it works fine. Is there something I am missing?