Command? findCommand(String name) { return _commands .where((c) => c.name == name || c.aliases.contains(name)) .firstOrNull; }