JavaChat / OakBot

A Java-based chat bot for Stackoverflow Chat
45 stars 32 forks source link

Bot went into an infinite loop #62

Closed PlaceReporter99 closed 1 year ago

PlaceReporter99 commented 1 year ago

Today, in the sandbox, someone entered the command /echo /echo /echo /8ball and then OakBot pinged itself. This caused it to respond to itself in an infinite loop, and clutter the sandbox. Can you fix this?

Here are the messages that were sent.

mangstadt commented 1 year ago

Thanks for letting me know! Fixed in this commit:

https://github.com/mangstadt/sochat4j/commit/942449d16ac81d9cb5463abe1f5383b5bb543257