Exception isn't thrown by anything.
No need to make JavaBot a static field.
Made message regex more generic.