Improve command prefix detection.
On second thought, move prefix extraction duties to CommandManager.