ChatServlet now reflects the addition of BotController. I added some methods to the Bot interface which NemoBot inherits from User. SeverStartpListener is where bots are registered.
ChatServletTest was updated as well. However, I couldn't fully test getMentionKey() because it's a private function. I can probably just copy the code and "hard test" it. Let me know what you guys think about this.
One last thing, I updated the search for users code to ignore case. Now, users can also search for bots since they're technically also users.
ChatServlet
now reflects the addition ofBotController
. I added some methods to theBot
interface whichNemoBot
inherits fromUser
.SeverStartpListener
is where bots are registered.ChatServletTest
was updated as well. However, I couldn't fully testgetMentionKey()
because it's a private function. I can probably just copy the code and "hard test" it. Let me know what you guys think about this.One last thing, I updated the search for users code to ignore case. Now, users can also search for bots since they're technically also users.
References #88
Fixes #105