lib/commands: escape nick for command matches