Check if input is a slash command.
bool isSlashCommand(String input) { return input.trimLeft().startsWith('/'); }